File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ Printf = "1.9"
9494RecursiveArrayTools = " 3.1"
9595Reexport = " 1.0"
9696ReverseDiff = " 1"
97- SciMLBase = " 2.114 .0"
97+ SciMLBase = " 2.115 .0"
9898SciMLOperators = " 1"
9999SciMLStructures = " 1.5"
100100Setfield = " 1"
Original file line number Diff line number Diff line change @@ -596,6 +596,11 @@ function apply_callback!(integrator,
596596
597597 @inbounds if callback. save_positions[2 ]
598598 savevalues! (integrator, true )
599+ if callback isa VectorContinuousCallback
600+ SciMLBase. save_discretes! (integrator, callback, event_idx)
601+ else
602+ SciMLBase. save_discretes! (integrator, callback)
603+ end
599604 saved_in_cb = true
600605 end
601606 return true , saved_in_cb
622627 end
623628 @inbounds if callback. save_positions[2 ]
624629 savevalues! (integrator, true )
630+ SciMLBase. save_discretes! (integrator, callback)
625631 saved_in_cb = true
626632 end
627633 end
You can’t perform that action at this time.
0 commit comments