Skip to content

Commit 6399ba8

Browse files
fix test
1 parent 2132199 commit 6399ba8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/derivatives.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ dpow2 = Derivative(^,[x, y],Val{2})
2222
@test dpow2 == x^y*log(x)
2323

2424

25-
eqs = [D*x ~ σ*(y-x),
26-
D*y ~ x*-z)-y,
27-
D*z ~ x*y - β*z]
28-
de = NonlinearSystem(eqs,[x,y,z],[σ,ρ,β])
29-
jac = SciCompDSL.generate_nlsys_jacobian(de)
25+
eqs = [0 ~ σ*(y-x),
26+
0 ~ x*-z)-y,
27+
0 ~ x*y - β*z]
28+
sys = NonlinearSystem(eqs,[x,y,z],[σ,ρ,β])
29+
jac = SciCompDSL.generate_nlsys_jacobian(sys)
3030
@test_broken jac[1,1] == -σ
3131
@test_broken jac[1,2] == σ
3232
@test_broken jac[1,3] == 0

0 commit comments

Comments
 (0)