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
Multiple callbacks result in apparent solver hang #600
Comments
Substituting
The |
Using VectorContinuousCallback instead of two separate ContinuousCallbacks as follows appears to work:
|
Nice that it worked for you, but still we need to fix that, I am busy till Tuesday, I will get back to the issue once I am free. |
I try to leave breadcrumbs in case someone else has the same issue and also let you know I'm not dead in the water so you can prioritize appropriately. As a note of appreciation - this is an amazing library - I'm beating on it pretty hard and in the process showing coworkers what is possible. Thanks! |
MWE:
Looking at function sim, there are three lines that begin with cbs = CallbackSet. If I run as is, it stalls after 0.2 s (simulation time in print statements) and eventually dies wanting larger maxiters… If I instead use either of the commented cbs = lines, each only having one of the two ContinuousCallbacks, then it succeeds.
The text was updated successfully, but these errors were encountered: