Skip to content

Commit 560b1a0

Browse files
committed
Fix
1 parent 1a6c369 commit 560b1a0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/substitution.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ import MutableArithmetics as MA
102102
Mod.@polyvar x[1:3]
103103
t = T(1) * x[1]
104104
@test copy(t).coefficient !== t.coefficient
105-
@test mutable_copy(t).coefficient !== t.coefficient
106-
@test copy_if_mutable(t).coefficient !== t.coefficient
105+
@test MA.mutable_copy(t).coefficient !== t.coefficient
106+
@test MA.copy_if_mutable(t).coefficient !== t.coefficient
107107
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
108+
@test subs(F, x[3] => T(0)) == x[1] * x[2]^2
109+
@test subs(F, x[3] => 0) == x[1] * x[2]^2
110110
end
111111
end

0 commit comments

Comments
 (0)