From 2bef5460265537fb1aac8412f888114a32f97c86 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Fri, 2 Aug 2024 19:27:10 -0400 Subject: [PATCH] format --- src/systems/callbacks.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/systems/callbacks.jl b/src/systems/callbacks.jl index da0380527b..ab699b6166 100644 --- a/src/systems/callbacks.jl +++ b/src/systems/callbacks.jl @@ -148,11 +148,13 @@ SymbolicContinuousCallback(p::Pair) = SymbolicContinuousCallback(p[1], p[2]) SymbolicContinuousCallback(cb::SymbolicContinuousCallback) = cb # passthrough function SymbolicContinuousCallback(eqs::Equation, affect = NULL_AFFECT; affect_neg = affect, rootfind = SciMLBase.LeftRootFind) - SymbolicContinuousCallback(eqs=[eqs], affect=affect, affect_neg=affect_neg, rootfind=rootfind) + SymbolicContinuousCallback( + eqs = [eqs], affect = affect, affect_neg = affect_neg, rootfind = rootfind) end function SymbolicContinuousCallback(eqs::Vector{Equation}, affect = NULL_AFFECT; affect_neg = affect, rootfind = SciMLBase.LeftRootFind) - SymbolicContinuousCallback(eqs=eqs, affect=affect, affect_neg=affect_neg, rootfind=rootfind) + SymbolicContinuousCallback( + eqs = eqs, affect = affect, affect_neg = affect_neg, rootfind = rootfind) end SymbolicContinuousCallbacks(cb::SymbolicContinuousCallback) = [cb]