Skip to content

Conversation

@ctessum
Copy link
Contributor

@ctessum ctessum commented Oct 13, 2024

...because initialization problems don't correctly handle units and units have already been checked during system initialization.

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

Fixes #3086

@ChrisRackauckas
Copy link
Member

@AayushSabharwal can you incorporate this post your PR?

@ChrisRackauckas
Copy link
Member

@AayushSabharwal can you rebase this onto your larger change?

@AayushSabharwal
Copy link
Member

Sure, sorry for missing this earlier.

...because initialization problems don't correctly handle units and units have already been checked during system initialization.
in which to generate the `RuntimeGeneratedFunction`.
- `fully_determined`: Override whether the initialization system is fully determined.
- `check_units`: Enable or disable unit checks.
- `check_units`: Enable or disable unit checks when constructing the initialization problem.
Copy link
Member

Choose a reason for hiding this comment

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

change the name to check_initialization_units?

@AayushSabharwal
Copy link
Member

I have the format commit ready. Once tests pass, I'll push it and merge so we don't rerun CI unnecessarily.

@AayushSabharwal
Copy link
Member

All tests pass, barring the homotopy continuation ones fixed in #3158

@AayushSabharwal AayushSabharwal merged commit 024e66c into SciML:master Oct 28, 2024
33 of 38 checks passed
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.

Fails to initialize with units

3 participants