Opened 8 years ago

Closed 8 years ago

#31 closed defect (fixed)

Empty array equals non-empty array

Reported by: benl Owned by:
Priority: blocker Milestone: 3.0.0
Component: library Version:
Keywords: Cc:


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
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 8 years ago by benl

  • Priority changed from normal to blocker

comment:2 Changed 8 years ago by benl

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.