You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functionmake_affect(affect::Vector{Equation}; iv =nothing, algeeqs = Equation[])
243
+
functionmake_affect(affect::Vector{Equation}; iv =nothing, algeeqs::Vector{Equation}= Equation[])
244
244
isempty(affect) &&returnnothing
245
245
isempty(algeeqs) &&@warn"No algebraic equations were found for the callback defined by $(join(affect, ", ")). If the system has no algebraic equations, this can be disregarded. Otherwise pass in `algeeqs` to the SymbolicContinuousCallback constructor."
246
246
247
247
explicit =true
248
-
affect =scalarize(affect)
249
248
dvs =OrderedSet()
250
249
params =OrderedSet()
251
250
for eq in affect
@@ -296,8 +295,9 @@ function make_affect(affect::Vector{Equation}; iv = nothing, algeeqs = Equation[
Compile an affect defined by a set of equations. Systems with algebraic equations will solve implicit discrete problems to obtain their next state. Systems without will generate functions that perform explicit updates.
0 commit comments