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

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

vyudu
Copy link
Contributor

@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
Contributor 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
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