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

fix: validate u0map and pmap #3350

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

vyudu
Copy link
Member

@vyudu vyudu commented Jan 23, 2025

Validate the keys of the u0map and pmap. Not sure if my check here is too restrictive, but basically anything that is not a symbol/symbolic corresponding to an unknown/parameter of the system will error here. Fixes #3325

@@ -684,12 +684,17 @@ function process_SciMLProblem(

u0Type = typeof(u0map)
pType = typeof(pmap)
_u0map = u0map
Copy link
Member Author

Choose a reason for hiding this comment

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

_u0map and pmap seems to not be used anywhere

@vyudu vyudu marked this pull request as draft January 24, 2025 01:23
@vyudu vyudu marked this pull request as ready for review February 17, 2025 23:22
@vyudu vyudu closed this Feb 20, 2025
@vyudu vyudu reopened this Feb 20, 2025
@vyudu
Copy link
Member Author

vyudu commented Feb 21, 2025

@ChrisRackauckas this is ready

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.

Nonsensical stuff is allowed in input paraemter maps
1 participant