Skip to content

Use InitializationProblem() in the SISO tests (rebase of #465)#469

Merged
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:siso-rebase
Jun 26, 2026
Merged

Use InitializationProblem() in the SISO tests (rebase of #465)#469
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:siso-rebase

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Rebased version of #465 by @JamesWrigley onto current main.

#465 became conflicting only because the test layout was restructured upstream (test/Blocks/utils.jltest/utils.jl via #463/#464); there is no real content conflict. The change replaces the manual generate_initializesystem + mtkcompile + NonlinearProblem sequence with ModelingToolkit.InitializationProblem(sys, 0.0) in the SISO tests. Git followed the rename and applied it cleanly on top of release v2.29.1.

Supersedes #465 (which can be closed once this is reviewed). Original authorship preserved on the commit.

Please ignore until reviewed by @ChrisRackauckas.

This would otherwise throw errors from constructing NonlinearProblem directly,
because a NonlinearProblem requires a square system.
@ChrisRackauckas ChrisRackauckas marked this pull request as ready for review June 26, 2026 18:58
@ChrisRackauckas ChrisRackauckas merged commit 3672b87 into SciML:main Jun 26, 2026
5 of 11 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.

3 participants