diff --git a/tutorials/advanced/02-advanced_ODE_solving.jmd b/tutorials/advanced/02-advanced_ODE_solving.jmd index 4e7a44c7..7b956d7d 100644 --- a/tutorials/advanced/02-advanced_ODE_solving.jmd +++ b/tutorials/advanced/02-advanced_ODE_solving.jmd @@ -173,7 +173,7 @@ the Julia code for this. ```julia using ModelingToolkit de = modelingtoolkitize(prob) -ModelingToolkit.generate_jacobian(de...)[2] # Second is in-place +ModelingToolkit.generate_jacobian(de)[2] # Second is in-place ``` which outputs: @@ -201,7 +201,7 @@ which outputs: Now let's use that to give the analytical solution Jacobian: ```julia -jac = eval(ModelingToolkit.generate_jacobian(de...)[2]) +jac = eval(ModelingToolkit.generate_jacobian(de)[2]) f = ODEFunction(rober, jac=jac) prob_jac = ODEProblem(f,[1.0,0.0,0.0],(0.0,1e5),(0.04,3e7,1e4)) ```