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

Better error message for misconfiguration with no _sms variable #143

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

sjdaines
Copy link
Member

@sjdaines sjdaines commented Dec 3, 2024

Better error message for a rarely seen misconfiguration, where the _sms derivative variable corresponding to state variable is either missing, or has a Target (not just Contributors) defined.

The only way I can see to create a configuration like this would be to accidentally configure a FluxTarget reaction that includes the _sms variable, or a as a result of a programming error in a .jl file defining a Reaction.

Better error message for a rarely seen misconfiguration, where the
<X>_sms derivative variable corresponding to state variable <X> is either missing,
or has a Target (not just Contributors) defined.

The only way I can see to create a configuration like this would be to accidentally configure a
FluxTarget reaction that includes the <X>_sms variable, or a as a result of a programming error
in a .jl file defining a Reaction.
@sjdaines sjdaines merged commit c17db77 into main Dec 5, 2024
3 checks passed
@sjdaines sjdaines deleted the host_var_error_message branch December 5, 2024 17:03
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.

1 participant