We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a6c369 commit 560b1a0Copy full SHA for 560b1a0
test/substitution.jl
@@ -102,10 +102,10 @@ import MutableArithmetics as MA
102
Mod.@polyvar x[1:3]
103
t = T(1) * x[1]
104
@test copy(t).coefficient !== t.coefficient
105
- @test mutable_copy(t).coefficient !== t.coefficient
106
- @test copy_if_mutable(t).coefficient !== t.coefficient
+ @test MA.mutable_copy(t).coefficient !== t.coefficient
+ @test MA.copy_if_mutable(t).coefficient !== t.coefficient
107
F = T(5) * x[1] * x[2] * x[3] + T(1) * x[1] * x[2]^2
108
- @test subs(F, c => T(0)) == a * b^2
109
- @test subs(F, c => 0) == a * b^2
+ @test subs(F, x[3] => T(0)) == x[1] * x[2]^2
+ @test subs(F, x[3] => 0) == x[1] * x[2]^2
110
end
111
0 commit comments