Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Aug 12, 2024
1 parent bda70b4 commit ffe2cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tensors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ for V in spacelist
@test t @constinferred TensorMap(a, W)
# also test if input is matrix
a2 = reshape(a, prod(dim, codomain(t)), prod(dim, domain(t)))
@test a2 @constinferred convert(Array, t, (codomain(t), domain(t)))
@test t @constinferred TensorMap(a2, codomain(t), domain(t))
end
end
end
Expand Down

0 comments on commit ffe2cf9

Please sign in to comment.