Skip to content

Commit 67dbacc

Browse files
simplify fallback
1 parent bbb1fdb commit 67dbacc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/simplify.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function _simplify_constants(O,shorten_tree = true)
8888
end
8989
return O
9090
end
91-
simplify_constants(x::Variable,y) = x
92-
_simplify_constants(x::Variable,y) = x
91+
simplify_constants(x::Variable,y=false) = x
92+
_simplify_constants(x::Variable,y=false) = x
9393

9494
export simplify_constants

0 commit comments

Comments
 (0)