Skip to content

Commit 61cf676

Browse files
committed
FIx SCC reconstruction
1 parent 9948de0 commit 61cf676

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/systems/callbacks.jl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,13 +284,15 @@ end
284284

285285
namespace_affects(af::Vector, s) = Equation[namespace_affect(a, s) for a in af]
286286
namespace_affects(af::FunctionalAffect, s) = namespace_affect(af, s)
287+
namespace_affects(af::MutatingFunctionalAffect, s) = namespace_affect(af, s)
287288
namespace_affects(::Nothing, s) = nothing
288289

289290
function namespace_callback(cb::SymbolicContinuousCallback, s)::SymbolicContinuousCallback
290-
SymbolicContinuousCallback(
291-
namespace_equation.(equations(cb), (s,)),
292-
namespace_affects(affects(cb), s);
293-
affect_neg = namespace_affects(affect_negs(cb), s))
291+
SymbolicContinuousCallback(;
292+
eqs = namespace_equation.(equations(cb), (s,)),
293+
affect = namespace_affects(affects(cb), s),
294+
affect_neg = namespace_affects(affect_negs(cb), s),
295+
rootfind = cb.rootfind)
294296
end
295297

296298
"""

0 commit comments

Comments
 (0)