Skip to content

Commit 8ec9a68

Browse files
committed
Fixing warnings in previous tests
1 parent 81faac4 commit 8ec9a68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/direct.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ end
7575
@variables a,b
7676
X = [a,b]
7777

78-
spoly(x) = simplify(x, polynorm=true)
78+
spoly(x) = simplify(x, expand=true)
7979
rr = rosenbrock(X)
8080

8181
reference_hes = ModelingToolkit.hessian(rr, X)

test/reduction.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ref_eq = [
2727
@variables x(t) y(t) z(t) a(t) u(t) F(t)
2828
D = Differential(t)
2929

30-
test_equal(a, b) = @test isequal(simplify(a, polynorm=true), simplify(b, polynorm=true))
30+
test_equal(a, b) = @test isequal(simplify(a, expand=true), simplify(b, expand=true))
3131

3232
eqs = [
3333
D(x) ~ σ*(y-x)

0 commit comments

Comments
 (0)