Skip to content

Commit aa13636

Browse files
committed
fix: namespace_equation always returns an equation
1 parent ff5cb37 commit aa13636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/abstractsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@ function namespace_equation(eq::Equation,
12401240
ivs = independent_variables(sys))
12411241
_lhs = namespace_expr(eq.lhs, sys, n; ivs)
12421242
_rhs = namespace_expr(eq.rhs, sys, n; ivs)
1243-
_lhs ~ _rhs
1243+
(_lhs ~ _rhs)::Equation
12441244
end
12451245

12461246
function namespace_assignment(eq::Assignment, sys)

0 commit comments

Comments
 (0)