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 unit conversion for expressions #2998

Merged
merged 2 commits into from
Aug 30, 2024

Conversation

contradict
Copy link
Contributor

When a parameter is specified in terms of other parameters, no unit conversion should be attempted until the full expression is evaluated.

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

Add any other context about the problem here.

When a parameter is specified in terms of other parameters, no unit
conversion should be attempted until the full expression is evaluted.
@contradict contradict force-pushed the expression_unit_conversion branch from e6ebe28 to e078c1d Compare August 30, 2024 13:59
@ChrisRackauckas ChrisRackauckas merged commit 866c443 into SciML:master Aug 30, 2024
18 of 23 checks passed
@ChrisRackauckas
Copy link
Member

Hey mind if I ask for some help on https://github.com/JuliaSymbolics/Symbolics.jl/actions/runs/10632283882/job/29474928357#step:7:957 ? I haven't been able to get around to fixing the Symbolics downstream test and it's another one of these units oddities. If you have a second it look it might not even be hard and it might related to some of what you've already found.

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