-
Notifications
You must be signed in to change notification settings - Fork 2
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
Handle different different simulation lengths when LSODA returns early #3
Comments
Shows up in gridsearch.py,
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes in stiff equations (e.g. Rossler), the return from
scipy.integrate.solve_ivp()
contains fewer points thant_eval
.x
Do we reject these samples? Or adapt the code to not stack the arrays and allow different simulation lengths (and then bias the regression to the blow-up trajectories?)
For instance, the final line of the following raises
ValueError: all input arrays must have the same shape
:I'm thinking we drop them with a warning, and raise an error if we drop all trials.
The text was updated successfully, but these errors were encountered: