Skip to content

don't reset accept-step so SciMLBase.check_error can look at it #2210

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

Merged
merged 1 commit into from
May 23, 2024

Conversation

oscardssmith
Copy link
Member

This line was unnecessarily setting accept_step to false which made check_error think that your step was always rejected. This was what caused the DelayDiffEq failures on SciML/SciMLBase.jl#693. The problem, however isn't delay problem specific, it just turns out delay diffeqs are much more likely to have tiny timesteps.

@oscardssmith oscardssmith force-pushed the os/no-reset-accept-step branch from dda9222 to d52d780 Compare May 23, 2024 17:04
@ChrisRackauckas ChrisRackauckas merged commit aa44608 into SciML:master May 23, 2024
29 of 32 checks passed
@oscardssmith oscardssmith deleted the os/no-reset-accept-step branch May 23, 2024 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants