Skip to content

Fix reset_aggregated_jumps! kwarg dispatch for SSAIntegrator (#562)#565

Merged
isaacsas merged 5 commits intoSciML:masterfrom
isaacsas:fix_ssastepper_jump_resetting
Mar 18, 2026
Merged

Fix reset_aggregated_jumps! kwarg dispatch for SSAIntegrator (#562)#565
isaacsas merged 5 commits intoSciML:masterfrom
isaacsas:fix_ssastepper_jump_resetting

Conversation

@isaacsas
Copy link
Copy Markdown
Member

Closes #562

The SSAIntegrator-specific method did not accept kwargs, so calling
reset_aggregated_jumps!(int; update_jump_params=true) dispatched to the
generic method which uses integrator.opts.callback (empty for SSAStepper)
instead of integrator.cb. Forward kwargs through the SSAIntegrator method.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@isaacsas
Copy link
Copy Markdown
Member Author

@ChrisRackauckas seems to be another new ambiguity error. I assume this is temporary till the integrator unification stuff is done?

@isaacsas isaacsas closed this Mar 17, 2026
@isaacsas isaacsas reopened this Mar 17, 2026
isaacsas and others added 4 commits March 17, 2026 17:13
OrdinaryDiffEqCore added AbstractJumpProblem to its __init Union type,
creating a method ambiguity with JumpProcesses' __init. Add a package
extension that defines a more specific method for OrdinaryDiffEqAlgorithm
and DAEAlgorithm to resolve the dispatch conflict.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
OrdinaryDiffEq v6.106+ requires OrdinaryDiffEqCore v3. The old compat
bound (1.32.0) prevented the resolver from picking up v3.22.0, which is
the version that introduced the AbstractJumpProblem union in __init.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Add lmul!(::AbstractQ, ::ExtendedJumpArray) needed by LinearSolve's QR
factorization path (broke in LinearSolve v3.66.0). Fix existing ldiv!
which created a temporary but never wrote results back to the
ExtendedJumpArray fields. Update docs Catalyst compat to v16.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Replace DiscreteProblem(rn, ...) + JumpProblem(rn, prob, ...) with the
new JumpProblem(rn, u0, tspan, p) constructor. Update Catalyst compat
to v16 in both docs Project.toml files.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@isaacsas isaacsas merged commit 3448536 into SciML:master Mar 18, 2026
11 checks passed
@isaacsas isaacsas deleted the fix_ssastepper_jump_resetting branch March 18, 2026 13:27
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.

reset_aggregated_jumps! may not work if the keyword update_jump_params is declared

2 participants