Skip to content

Commit

Permalink
Turn last broken test into a passable test
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed May 21, 2024
1 parent 5ebf6fa commit 6786870
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions test/group_algebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,7 @@

@test P2 * P3 == P3 * P2 == P

#=
Stacktrace:
[1] operate_to_fallback!(::MutableArithmetics.IsNotMutable, output::SparseVector{Int64, UInt32}, op::Function, args::SparseVector{Int64, UInt32})
@ MutableArithmetics ~/.julia/dev/MutableArithmetics/src/interface.jl:350
[2] operate_to!(output::SparseVector{Int64, UInt32}, op::typeof(-), args::SparseVector{Int64, UInt32})
@ MutableArithmetics ~/.julia/dev/MutableArithmetics/src/interface.jl:391
=#
@test_broken -RG(h)
@test_broken -RG(h) == (-1) * RG(h)
@test !iszero(RG(1) - RG(h))

P2m = (RG(1) - RG(h)) // 2
Expand Down

0 comments on commit 6786870

Please sign in to comment.