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

Handle dummy derivatives and more in initialize_equations #3030

Merged
merged 5 commits into from
Sep 8, 2024

Conversation

ChrisRackauckas
Copy link
Member

Also throws a better error for the case where a differential is not caught in the initialization system handling. Fixes #3029

ChrisRackauckas and others added 4 commits September 8, 2024 16:26
Also throws a better error for the case where a differential is not caught in the initialization system handling. Fixes #3029
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
[D(D(x)) ~ 0], t; initialization_eqs = [x ~ 0, D(D(x)) ~ 0], name = :sys) |>
structural_simplify
@test_nowarn ODEProblem(sys, [D(x) => 1.0], (0.0, 1.0), [])
end
Copy link
Contributor

Choose a reason for hiding this comment

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

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
end
end

@ChrisRackauckas ChrisRackauckas merged commit 271d4cd into master Sep 8, 2024
8 checks passed
@ChrisRackauckas ChrisRackauckas deleted the initialize_eqs_dd branch September 8, 2024 15:14
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.

Cannot initialize system with D(x)-like initialization equations
1 participant