Repository navigation
Drop the unused init(ssprob, DynamicSS) from the comprehensive indexing test - #1635
Conversation
ssint was never added to the integrators list, so no assertion used it. SteadyStateDiffEq defines no init for DynamicSS: the call fell through to NonlinearSolve's default-algorithm init, which silently ignored DynamicSS. With the SCC lowered_problem that MTK now stores, that fallback converts the SCCNonlinearProblem with NonlinearProblem(prob) and fails reading prob.u0. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01DvrkppVVQKnQTGGgmLXhJh
|
A newer Symbolics release now rejects Generated by Claude Code |
|
The SymbolicIndexingInterface job (lts) now gets past the removed Cause: SteadyStateDiffEq's The behavior change sits in SteadyStateDiffEq (DynamicSS routing through the SCC lowering), not in this PR's diff. Fixing it means choosing one of two things:
I've put that choice to the maintainer and am not guessing here. I can't re-run jobs from this session. Generated by Claude Code |
|
Catalyst's runtests tries to open a Generated by Claude Code |
|
Generated by Claude Code |
Requested by Chris · project thread
Before: Run Tests on master fails in both SymbolicIndexingInterface jobs (run). The failure is at
test/downstream/comprehensive_indexing.jl:103withFieldError: type SciMLBase.SCCNonlinearProblem has no field u0.After: the line is removed. It created
ssint, which no assertion used becausessintwas never added tointegrators.Why the line failed: SteadyStateDiffEq defines no
initforDynamicSS. The call fell through to NonlinearSolve's__init(::AbstractSteadyStateProblem, ::Nothing, args...)(src/default.jl:59), which built a default nonlinear polyalgorithm cache and ignoredDynamicSS. Since #1603, MTK stores anSCCNonlinearProblemaslowered_problem.NonlinearProblem(ssprob)now returns that SCC problem. BecauseAbstractSteadyStateProblemis an alias ofAbstractNonlinearProblem, the same NonlinearSolve method then catches the SCC problem and callsNonlinearProblem(::SCCNonlinearProblem), which readsprob.u0.How: this deletes one unused setup line. No assertion is removed. Two upstream bugs remain and are not fixed here:
AbstractSteadyStateProblemdefault-alg__init/__solvemethods match everyAbstractNonlinearProblem.init(::SteadyStateProblem, ::DynamicSS)has never really been supported.Not verified locally: Julia could not be installed in this environment, so CI is the check.
🤖 Generated with Claude Code
https://claude.ai/code/session_01DvrkppVVQKnQTGGgmLXhJh
Generated by Claude Code