We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fast_substitute
1 parent bb55cb5 commit 457bf96Copy full SHA for 457bf96
src/input_affine_form.jl
@@ -48,7 +48,7 @@ function input_affine_form(eqs, inputs)
48
g = Symbolics.simplify.(g, expand = true)
49
50
# Extract the drift term f(x) by substituting inputs = 0
51
- f = Symbolics.substitute.(eqs, Ref(Dict(inputs .=> 0)))
+ f = Symbolics.fast_substitute.(eqs, Ref(Dict(inputs .=> 0)))
52
f = Symbolics.simplify.(f, expand = true)
53
54
return f, g
0 commit comments