Skip to content

Commit

Permalink
make test retro compatible with 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoinemarteau committed Nov 7, 2024
1 parent 1aa723a commit 1b5d4fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/TensorValuesTests/TypesTests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,11 @@ q = SymTracelessTensorValue{0,Int}()

q = SymTracelessTensorValue{1,Int}( () )
@test isa(q,SymTracelessTensorValue{1,Int})
@test convert(SMatrix{1,1,Int},q) == [0;;]
@test convert(SMatrix{1,1,Int},q) == zeros(Int,1,1)

q = SymTracelessTensorValue{1,Int}()
@test isa(q,SymTracelessTensorValue{1,Int})
@test convert(SMatrix{1,1,Int},q) == [0;;]
@test convert(SMatrix{1,1,Int},q) == zeros(Int,1,1)

q = SymTracelessTensorValue(11,21.0)
@test isa(q,SymTracelessTensorValue{2,Float64})
Expand Down

0 comments on commit 1b5d4fa

Please sign in to comment.