Skip to content

Commit 04bc3e6

Browse files
Merge pull request #791 from SciML/ChrisRackauckas-patch-1
Allow modelingtoolkit v9 in doc builds
2 parents 3fbd64a + d05ae0e commit 04bc3e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ FiniteDiff = "2"
6060
ForwardDiff = "0.10, 1"
6161
IncompleteLU = "0.2"
6262
JLD2 = "0.4, 0.5.1"
63-
ModelingToolkit = "10"
63+
ModelingToolkit = "9, 10"
6464
NonlinearSolve = "3.15, 4"
6565
ODEProblemLibrary = "0.1"
6666
Optimization = "3, 4"

docs/src/examples/outer_solar_system.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Thus, $\dot{q}$ is defined by the masses. We only need to define $\dot{p}$, and
7171
```@example outersolarsystem
7272
eqs = vec(@. D(D(u))) .~ .-ModelingToolkit.gradient(potential, vec(u)) ./
7373
repeat(M, inner = 3)
74-
@mtkcompile sys = System(eqs, t)
74+
@mtkbuild sys = System(eqs, t)
7575
prob = ODEProblem(ss, [vec(u .=> pos); vec(D.(u) .=> vel)], tspan)
7676
sol = solve(prob, Tsit5());
7777
```

0 commit comments

Comments
 (0)