We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71c1e71 commit 388b2ffCopy full SHA for 388b2ff
ext/SymEngineSymbolicUtilsExt.jl
@@ -37,6 +37,7 @@ Check if x represents an expression tree. If returns true, it will be assumed th
37
function SymbolicUtils.istree(x::SymEngine.SymbolicType)
38
cls = SymEngine.get_symengine_class(x)
39
cls == :Symbol && return false
40
+ cls == :Constant && return false
41
any(==(cls), SymEngine.number_types) && return false
42
return true
43
end
0 commit comments