Skip to content

Commit 2bef546

Browse files
format
1 parent 55e8ad6 commit 2bef546

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/systems/callbacks.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,13 @@ SymbolicContinuousCallback(p::Pair) = SymbolicContinuousCallback(p[1], p[2])
148148
SymbolicContinuousCallback(cb::SymbolicContinuousCallback) = cb # passthrough
149149
function SymbolicContinuousCallback(eqs::Equation, affect = NULL_AFFECT;
150150
affect_neg = affect, rootfind = SciMLBase.LeftRootFind)
151-
SymbolicContinuousCallback(eqs=[eqs], affect=affect, affect_neg=affect_neg, rootfind=rootfind)
151+
SymbolicContinuousCallback(
152+
eqs = [eqs], affect = affect, affect_neg = affect_neg, rootfind = rootfind)
152153
end
153154
function SymbolicContinuousCallback(eqs::Vector{Equation}, affect = NULL_AFFECT;
154155
affect_neg = affect, rootfind = SciMLBase.LeftRootFind)
155-
SymbolicContinuousCallback(eqs=eqs, affect=affect, affect_neg=affect_neg, rootfind=rootfind)
156+
SymbolicContinuousCallback(
157+
eqs = eqs, affect = affect, affect_neg = affect_neg, rootfind = rootfind)
156158
end
157159

158160
SymbolicContinuousCallbacks(cb::SymbolicContinuousCallback) = [cb]

0 commit comments

Comments
 (0)