Skip to content

Commit 67603fd

Browse files
committed
Fix equation access in DEIM tutorial for ModelingToolkit API changes
1 parent f9e447d commit 67603fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/src/tutorials/deim_FitzHugh-Nagumo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ plt_2 = plot(xlabel = L"v(x,t)", ylabel = L"x", zlabel = L"w(x,t)", xlims = (-0.
181181
ylims = (0.0, L), zlims = (0.0, 0.25), xflip = true, camera = (50, 30),
182182
titlefont = 10, title = "Comparison of full and reduced systems")
183183
plot!(plt_2, unconnected(snapshot_v), unconnected(sol_x, nₜ), unconnected(snapshot_w),
184-
label = "Full$(length(ode_sys.eqs))")
184+
label = "Full$(length(ModelingToolkit.get_eqs(ode_sys)))")
185185
plot!(plt_2, unconnected(sol_deim_v), unconnected(sol_deim_x, nₜ_deim),
186186
unconnected(sol_deim_w), label = "POD$(pod_dim)/DEIM$(deim_dim)")
187187
```

0 commit comments

Comments
 (0)