Skip to content

Make CheckInit more informative#886

Merged
ChrisRackauckas merged 2 commits into
SciML:masterfrom
Ickaser:dae_init_error
Dec 3, 2024
Merged

Make CheckInit more informative#886
ChrisRackauckas merged 2 commits into
SciML:masterfrom
Ickaser:dae_init_error

Conversation

@Ickaser
Copy link
Copy Markdown
Contributor

@Ickaser Ickaser commented Dec 3, 2024

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

Follows on from SciML/OrdinaryDiffEq.jl#2513 and SciML/OrdinaryDiffEq.jl#2514 .
This pull request exports CheckInit and adds an informative error message for CheckInit if supplied initialization isn't incorrect, as discussed in the above pull request.

As far as SciMLBase is concerned, I don't believe this should be breaking in any way. This is required before merging SciML/OrdinaryDiffEq.jl#2514 .

@ChrisRackauckas ChrisRackauckas merged commit 94cbba0 into SciML:master Dec 3, 2024
@ChrisRackauckas
Copy link
Copy Markdown
Member

Thanks!

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