Skip to content

Commit 5e44464

Browse files
committed
don't call to_mtk after calling ModelingToolkit.simplify
1 parent 904d92b commit 5e44464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function _substitute(expr, ks, vs)
116116
end
117117

118118
function _substitute(expr, dict::Dict)
119-
to_mtk(simplify(SymbolicUtils.substitute(expr, dict)))
119+
simplify(SymbolicUtils.substitute(expr, dict))
120120
end
121121

122122
@deprecate substitute_expr!(expr,s) substitute(expr,s)

0 commit comments

Comments
 (0)