File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 606
606
"""
607
607
$(TYPEDSIGNATURES)
608
608
609
- Indicate whether the given equation type (Equation, Pair, etc) supports `collect_vars!`.
609
+ Indicate whether the given equation type (Equation, Pair, etc) supports `collect_vars!`.
610
610
Can be dispatched by higher-level libraries to indicate support.
611
611
"""
612
612
eqtype_supports_collect_vars (eq) = false
@@ -791,7 +791,7 @@ Check if `T` is an appropriate symtype for a symbolic variable representing a fl
791
791
point number or array of such numbers.
792
792
"""
793
793
function is_floatingpoint_symtype (T:: Type )
794
- return T == Real || T == Number || T <: AbstractFloat ||
794
+ return T == Real || T == Number || T == Complex || T <: AbstractFloat ||
795
795
T <: AbstractArray && is_floatingpoint_symtype (eltype (T))
796
796
end
797
797
You can’t perform that action at this time.
0 commit comments