Skip to content

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