__color__	__group__	ticket	summary	component	version	type	owner	status	created	_changetime	_description	_reporter
4	 Release	2	unfoldU off-by-one	component1		defect	anonymous	assigned	2009-01-24T20:30:09Z+0000	2009-01-25T10:03:28Z+0000	"unfoldU 5 (const $ JustS (1 :*: 1)) 1 

yields

toU [1.0,1.0,1.0,1.0,1.0,4.250268257e-314] (length 6).

This only happens if a NothingS is not encountered (i.e., if you're trying to use the length argument to limit the unfold)."	pumpkingod@…
4	 Release	1	My UArr code looks like it's reading uninitialized memory?	component1		defect	somebody	new	2009-01-12T08:34:56Z+0000	2009-01-24T20:28:35Z+0000	"I'm parsing in a reasonably large data file (I've included a smaller one that still exhibits the problem) in CSV format, replacing all NaNs with 0, and then proceeding to calculate a sliding window mean over the columns of the data. The data has no NaNs in it, so there's no reason for any of the means to be NaN/e308, and definitely no reason to see changes between runs of the program (unless I'm doing something very wrong!).

I compile with ghc -O2 --make -o minimal minimal.hs and run with ./minimal. The data files used are in data, and the program relies on current path so run it from the parent folder of data.

See the two_runs file for an example of what I get from two successive runs of the program, with nothing else in between. The data files don't ever change.

I'm compiling on GHC 6.10.1 (the 32-bit package from haskell.org) on Mac OS 10.5.

My code and data are at http://pumpkinpat.ch/uvector_bug.tbz ."	pumpkingod@…
4	 Release	3	enumFromToFracU strange behavior.	component1		defect	somebody	new	2009-01-25T01:41:30Z+0000	2009-01-25T01:41:30Z+0000	"Take for example: 

enumFromToFracU 2.0 5.6

which yields

toU [2.0,3.0,4.0,4.250268257e-314,6.0]"	pumpkingod@…
