Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed Jun 5, 2024
1 parent 5fdc221 commit b3dbea9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions NDTensors/src/lib/GradedAxes/test/test_dual.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ GradedAxes.dual(c::U1) = U1(-c.n)
@test ad[4] == 4
@test label(ad[4]) == U1(-1)
@test ad[2:4] == 2:4
@test ad[2:4] isa UnitRangeDual
@test label(ad[2:4][Block(2)]) == U1(-1)
@test ad[2:4] isa AbstractUnitRange
@test ad[[2, 4]] == [2, 4]
@test label(ad[[2, 4]][2]) == U1(-1)
@test ad[Block(2)] == 3:5
Expand Down

0 comments on commit b3dbea9

Please sign in to comment.