-
-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remake
for SDEProblem
resets and ignores u0
#3504
Comments
This is intentional. The SDEProblem uses the initial conditions it was provided on construction. A symbolic @ChrisRackauckas I could make it so that if the user passes |
Yes that seems reasonable, though I think we should also add some kind of warning if direct arrays are used anywhere. |
Great, and thanks to the pointer in the documentation. |
What if a user passes |
We already handle that case if |
Is the behavior of |
They are fundamentally different functions, so they won't be completely identical. That said, |
Describe the bug 🐞
When calling
remake
on aSDEProblem
generated either from aSDESystem
or aRecationSystem
theremake
function ignores and resetsu0
. This does not happen forODEProblem
.Expected behavior
That
remake
should work as forODEProblem
Minimal Reproducible Example 👇
Error & Stacktrace⚠️
The output from above is:
When it should be
Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
The text was updated successfully, but these errors were encountered: