Skip to content

make initial dt nothing #2838

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oscardssmith
Copy link
Member

allows for trimming of rosenbrock when initial_dt is set. Ideally, we would make init_dt selection fully trimmable also, but this is a start.

@ChrisRackauckas ChrisRackauckas force-pushed the os/improve-initial-dt-handling branch from cf33b30 to 2994991 Compare August 13, 2025 09:28
Comment on lines -106 to +107
if prob.f.mass_matrix != I && (!(prob.f isa DynamicalODEFunction) ||
any(mm != I for mm in prob.f.mass_matrix))
if prob.f.mass_matrix !== I && (!(prob.f isa DynamicalODEFunction) ||
any(mm !== I for mm in prob.f.mass_matrix))
Copy link
Member Author

Choose a reason for hiding this comment

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

todo: undo these

@ChrisRackauckas
Copy link
Member

Looks like convergence testing sets dt=0.0, along with some other things , so we need to still support that path.

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