Skip to content

Commit

Permalink
map working?
Browse files Browse the repository at this point in the history
  • Loading branch information
joelberkeley committed Dec 8, 2023
1 parent d090e5a commit afd4344
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Unit/TestTensor/HigherOrder.idr
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ import Utils.Cases
partial
mapResult : Property
mapResult = property $ do
-- shape <- forAll shapes
shape <- forAll shapes

x <- forAll (literal [2] doubles)
x <- forAll (literal shape doubles)
let x' = tensor {dtype = F64} x
map id x ==~ unsafeEval (do map pure !x')

Expand Down

0 comments on commit afd4344

Please sign in to comment.