Skip to content

Commit 9d40437

Browse files
authored
Update tutorial-double-integrator-energy.md
1 parent 9af9c78 commit 9d40437

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/src/tutorial-double-integrator-energy.md

+3
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,10 @@ We can export (or save) the solution in a Julia `.jld2` data file and reload it
113113

114114
```@example main
115115
using JLD2
116+
using Suppressor # hide
117+
@suppress_err begin # hide
116118
export_ocp_solution(sol; filename="my_solution")
119+
end # hide
117120
sol_jld = import_ocp_solution(ocp; filename="my_solution")
118121
println("Objective from computed solution: ", objective(sol))
119122
println("Objective from imported solution: ", objective(sol_jld))

0 commit comments

Comments
 (0)