Skip to content

Commit 8ce87ea

Browse files
test: update test to account for allow_algebraic
1 parent e7a6245 commit 8ce87ea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/nonlinearsystem.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,7 @@ sys = structural_simplify(ns; conservative = true)
300300
ps ==> 10.0, ρ => 26.0, β => 8 / 3]
301301
@mtkbuild ns = NonlinearSystem(eqs)
302302

303-
@test isequal(calculate_jacobian(ns), [(-1 - z + ρ)*σ -x*σ
304-
2x*(-z + ρ) -β-(x^2)])
303+
@test isequal(calculate_jacobian(ns), [2x])
305304
# solve without analytical jacobian
306305
prob = NonlinearProblem(ns, guesses, ps)
307306
sol = solve(prob, NewtonRaphson())

0 commit comments

Comments
 (0)