Skip to content

Commit a1d0756

Browse files
fixup! feat: initial implementation of HomotopyContinuation interface
1 parent 1ac0314 commit a1d0756

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/MTKHomotopyContinuationExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ const MTK = ModelingToolkit
1212

1313
function contains_variable(x, wrt)
1414
any(isequal(x), wrt) && return true
15-
istree(x) || return false
15+
iscall(x) || return false
1616
return any(y -> contains_variable(y, wrt), arguments(x))
1717
end
1818

1919
function is_polynomial(x, wrt)
2020
x = unwrap(x)
2121
symbolic_type(x) == NotSymbolic() && return true
22-
istree(x) || return true
22+
iscall(x) || return true
2323
contains_variable(x, wrt) || return true
2424
any(isequal(x), wrt) && return true
2525

0 commit comments

Comments
 (0)