Skip to content

fix ODE_DEFAULT_NORM for empty vectors #845

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
Nov 29, 2022

Conversation

oscardssmith
Copy link
Member

fixes problem introduced in #697.

Copy link
Member

@ChrisRackauckas ChrisRackauckas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is the empty case important?

@ChrisRackauckas ChrisRackauckas merged commit 89e2a5f into SciML:master Nov 29, 2022
@oscardssmith oscardssmith deleted the norm-empty branch November 29, 2022 22:19
@oscardssmith
Copy link
Member Author

the empty case matters because automatic simplification of problems (e.g. MTK) can sometimes manage to remove all variables from simple problems.

@ChrisRackauckas
Copy link
Member

But it shouldn't even enter the solver in those cases, it should just bypass and build the solution?

@oscardssmith
Copy link
Member Author

you certainly would think that, wouldn't you.

@ChrisRackauckas
Copy link
Member

but... it does do that.

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