Skip to content

Commit a9f74e5

Browse files
Update docs/src/tutorials/reusage_interface.md
1 parent d2868cc commit a9f74e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/src/tutorials/reusage_interface.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ sweep(cache, p_values)
6565
u0_values = [[0.0, 0.0], [0.5, 0.5], [1.0, 1.0]]
6666

6767
for u0 in u0_values
68+
local cache
6869
cache = Optimization.reinit!(cache; u0 = u0)
6970
sol = Optimization.solve!(cache)
7071
println("Starting from ", u0, " converged to ", sol.u)

0 commit comments

Comments
 (0)