We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c71796 commit b9f1e38Copy full SHA for b9f1e38
README.md
@@ -94,7 +94,7 @@ eqs = [
94
@variables a(t)
95
@parameters γ
96
connections = [0 ~ lorenz1.x + lorenz2.y + a * γ]
97
-@mtkcompile connected = System(connections, t, systems = [lorenz1, lorenz2])
+@mtkcompile connected_lorenz = System(connections, t; systems = [lorenz1, lorenz2])
98
99
# Simulate the model for a specific condition (initial condition and parameter values).
100
using OrdinaryDiffEqDefault
@@ -114,7 +114,7 @@ sim_cond = [
114
γ => 2.0
115
]
116
tend = 100.0
117
-prob = ODEProblem(connected, sim_cond, tend)
+prob = ODEProblem(connected_lorenz, sim_cond, tend)
118
sol = solve(prob)
119
120
# Plot the solution in phase-space.
0 commit comments