Skip to content

Commit 388b2ff

Browse files
committed
edit
1 parent 71c1e71 commit 388b2ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/SymEngineSymbolicUtilsExt.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Check if x represents an expression tree. If returns true, it will be assumed th
3737
function SymbolicUtils.istree(x::SymEngine.SymbolicType)
3838
cls = SymEngine.get_symengine_class(x)
3939
cls == :Symbol && return false
40+
cls == :Constant && return false
4041
any(==(cls), SymEngine.number_types) && return false
4142
return true
4243
end

0 commit comments

Comments
 (0)