Skip to content

Commit

Permalink
unbreak tests with MutableArithmetics 1.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kalmarek committed Apr 17, 2024
1 parent 91cec1b commit 32bd4dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ MutableArithmetics = "d8a4904e-b15c-11e9-3269-09a3773c0cb0"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

[compat]
MutableArithmetics = "1"
MutableArithmetics = "1.4.3"
SparseArrays = "1"
julia = "1.6"
4 changes: 2 additions & 2 deletions test/arithmetic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ end
@test one(fRG) == g
@test iszero(zero(fRG))
@test zero(g) == zero(fRG)
@test_broken iszero(0 * g)
@test iszero(0 * g)

@testset "Translations between bases" begin
Z = zero(RG)
Expand Down Expand Up @@ -212,7 +212,7 @@ end
@test coeffs(fZ) == coeffs(Z, basis(fRG))

@test coeffs(2 * X * Y) == coeffs(MA.operate_to!(Z, *, Z, 2))
@test_broken coeffs(2 * fX * fY) ==
@test coeffs(2 * fX * fY) ==
coeffs(MA.operate_to!(fZ, *, fZ, 2))
end
end
Expand Down

0 comments on commit 32bd4dc

Please sign in to comment.