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

tspan argument should be checked to be a proper time interval #732

Open
schillic opened this issue Sep 13, 2023 · 1 comment
Open

tspan argument should be checked to be a proper time interval #732

schillic opened this issue Sep 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@schillic
Copy link
Member

schillic commented Sep 13, 2023

Passing tspan=(1., 0.) to solve should throw an error instead of computing a normal-looking but invalid result.

EDIT: According to the documentation, this is actually allowed. But I think at least the TMJets algorithm does not support this properly.

@schillic schillic added the bug Something isn't working label Sep 13, 2023
@mforets
Copy link
Member

mforets commented Sep 14, 2023

yes, the interval tspan=(1., 0.) was meant to compute backwards approximation.
iirc DiffEq has a similar behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants