Skip to content

Commit 457bf96

Browse files
authored
use fast_substitute
1 parent bb55cb5 commit 457bf96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/input_affine_form.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function input_affine_form(eqs, inputs)
4848
g = Symbolics.simplify.(g, expand = true)
4949

5050
# Extract the drift term f(x) by substituting inputs = 0
51-
f = Symbolics.substitute.(eqs, Ref(Dict(inputs .=> 0)))
51+
f = Symbolics.fast_substitute.(eqs, Ref(Dict(inputs .=> 0)))
5252
f = Symbolics.simplify.(f, expand = true)
5353

5454
return f, g

0 commit comments

Comments
 (0)