Skip to content

Commit 276c783

Browse files
Update docs/src/highlevel.md
1 parent 7743de5 commit 276c783

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/src/highlevel.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,8 @@ sys = modelingtoolkitize(prob)
308308
Using this, we can symbolically build the Jacobian and then rebuild the ODEProblem:
309309

310310
```julia
311-
jac = eval(ModelingToolkit.generate_jacobian(sys...)[2])
311+
jac = eval(ModelingToolkit.generate_jacobian(sys)[2])
312+
312313
f = ODEFunction(rober, jac=jac)
313314
prob_jac = ODEProblem(f,[1.0,0.0,0.0],(0.0,1e5),(0.04,3e7,1e4))
314315
```

0 commit comments

Comments
 (0)