From 32bd4dcad13f6839503cc4578c145896d550a60b Mon Sep 17 00:00:00 2001 From: Marek Kaluba Date: Wed, 17 Apr 2024 21:15:24 +0200 Subject: [PATCH] unbreak tests with MutableArithmetics 1.4.3 --- Project.toml | 2 +- test/arithmetic.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index 675b677..dfd4def 100644 --- a/Project.toml +++ b/Project.toml @@ -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" diff --git a/test/arithmetic.jl b/test/arithmetic.jl index f804820..8ff6728 100644 --- a/test/arithmetic.jl +++ b/test/arithmetic.jl @@ -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) @@ -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