From 55daac3be0d666abcd8734f46033e7da8b723843 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Sun, 10 Aug 2025 10:45:11 -0400 Subject: [PATCH] fix deprecated ODEProblem syntax in Debugging.md --- docs/src/basics/Debugging.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/basics/Debugging.md b/docs/src/basics/Debugging.md index ccf1de263a..cbd6bc5e77 100644 --- a/docs/src/basics/Debugging.md +++ b/docs/src/basics/Debugging.md @@ -19,7 +19,7 @@ sys = mtkcompile(sys) This problem causes the ODE solver to crash: ```@repl debug -prob = ODEProblem(sys, [], (0.0, 10.0), []); +prob = ODEProblem(sys, [], (0.0, 10.0)); sol = solve(prob, Tsit5()); ``` @@ -28,7 +28,7 @@ In such situations, the `debug_system` function is helpful: ```@repl debug dsys = debug_system(sys; functions = [sqrt]); -dprob = ODEProblem(dsys, [], (0.0, 10.0), []); +dprob = ODEProblem(dsys, [], (0.0, 10.0)); dsol = solve(dprob, Tsit5()); ```