Opened 13 years ago
Closed 13 years ago
#31 closed defect (fixed)
Empty array equals non-empty array
Reported by: | Ben Lippmeier | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 3.0.0 |
Component: | library | Version: | 2.1.0.1 |
Keywords: | Cc: |
Description
Issac Trotts <issac@…> reports: empty array equals non-empty array
Prelude Data.Array.Repa> import Data.Array.Repa as R Prelude Data.Array.Repa> let x :: Array DIM1 Int; x = fromList (Z :. (0::Int)) [] Prelude Data.Array.Repa> let y :: Array DIM1 Int; y = fromList (Z :. (1::Int)) [1] Prelude Data.Array.Repa> x == y True Prelude Data.Array.Repa> y == x *** Exception: Data.Array.Repa.Operators.IndexSpace.reshape: reshaped array will not match size of the original
Make sure this works in Repa3.
Change History (2)
comment:1 Changed 13 years ago by
Priority: | normal → blocker |
---|
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.