Skip to content

Commit d9e239d

Browse files
remove footer
1 parent 9c3b1da commit d9e239d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

docs/src/examples/classical_physics.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ end
317317
318318
#Pass to solvers
319319
prob = ODEProblem(Hénon_Heiles, initial, tspan)
320-
sol = solve(prob, Vern9(), abstol=1e-16, rel_tol=1e-16);
320+
sol = solve(prob, Vern9(), abstol=1e-16, reltol=1e-16);
321321
```
322322

323323
```@example physics
@@ -396,9 +396,4 @@ gr()
396396
plot(sol3.t, energy .- energy[1], title = "Change in Energy over Time", xaxis = "Time in iterations", yaxis = "Change in Energy")
397397
```
398398

399-
Note that we are using the `DPRKN6` sovler at `reltol=1e-3` (the default), yet it has a smaller energy variation than `Vern9` at `abstol=1e-16, rel_tol=1e-16`. Therefore, using specialized solvers to solve its particular problem is very efficient.
400-
401-
```@example physics, echo = false, skip="notebook"
402-
using SciMLTutorials
403-
SciMLTutorials.tutorial_footer(WEAVE_ARGS[:folder],WEAVE_ARGS[:file])
404-
```
399+
Note that we are using the `DPRKN6` sovler at `reltol=1e-3` (the default), yet it has a smaller energy variation than `Vern9` at `abstol=1e-16, reltol=1e-16`. Therefore, using specialized solvers to solve its particular problem is very efficient.

0 commit comments

Comments
 (0)