Skip to content

Commit 7a64c09

Browse files
Merge pull request #32 from moble/patch-1
Solve newprob so that output actually depends on input
2 parents 2b3e194 + a170c6c commit 7a64c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function simulate_with_tunables(tunables)
5151
coeffs = reshape(tunables[6:end], size(p.coeffs))
5252
newp = Parameters(subpars, coeffs)
5353
newprob = remake(prob; p = newp)
54-
sol = solve(prob, Tsit5())
54+
sol = solve(newprob, Tsit5())
5555
return sum(sol.u[end])
5656
end
5757
```

0 commit comments

Comments
 (0)