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

Throw a more concrete error on unsupported modelingtoolkitize parameters #1682

Merged
merged 3 commits into from
Jul 11, 2022

Conversation

ChrisRackauckas
Copy link
Member

This is at least an intermediate solution to help give more interpretable error messages for #1678 . It's not a full solution since the real problem there is that while tuples are supported, it assumes ::NTuple{<:Number}

The "real" answer of course is to make this handling recursive, but I'll leave that as a separate PR.

This is at least an intermediate solution to help give more interpretable error messages for #1678 . It's not a full solution since the real problem there is that while tuples are supported, it assumes `::NTuple{<:Number}`

The "real" answer of course is to make this handling recursive, but I'll leave that as a separate PR.
@YingboMa YingboMa merged commit 4048ae8 into master Jul 11, 2022
@YingboMa YingboMa deleted the parameters_mtkitize branch July 11, 2022 15:18
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