From a170c6c340a8759ab0ea87f505f7d1968df6e9a6 Mon Sep 17 00:00:00 2001 From: Mike Boyle Date: Tue, 19 Nov 2024 09:21:40 -0500 Subject: [PATCH] Solve newprob so that output actually depends on input --- docs/src/example.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/example.md b/docs/src/example.md index 29caa2a..5a18074 100644 --- a/docs/src/example.md +++ b/docs/src/example.md @@ -51,7 +51,7 @@ function simulate_with_tunables(tunables) coeffs = reshape(tunables[6:end], size(p.coeffs)) newp = Parameters(subpars, coeffs) newprob = remake(prob; p = newp) - sol = solve(prob, Tsit5()) + sol = solve(newprob, Tsit5()) return sum(sol.u[end]) end ```