Skip to content
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

fix saved_in_cb #170

Merged
merged 1 commit into from
Oct 21, 2018
Merged

fix saved_in_cb #170

merged 1 commit into from
Oct 21, 2018

Conversation

ChrisRackauckas
Copy link
Member

@MSeeker1340 I noticed that saved_in_cb wasn't being set even when the callbacks were saving. This fixes a lot of tests in DiffEqCallbacks.jl. Testing to see what happens to other packages before merging.

@ChrisRackauckas
Copy link
Member Author

There doesn't seem to be a way to express "only save after the callback is applied, or if not applied". For example, with the PositiveDomain callback, we only want to save positive values, which is either true or happens after the effect. but the first savevalues! will cause a negative value to save before the callback is applied. There should be a better answer to this. I would assume this effects PuMaS?

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.

None yet

1 participant