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 133d5e9 commit c0cb5a0Copy full SHA for c0cb5a0
src/methods.jl
@@ -109,14 +109,14 @@ Base.real(s::Symbolic{<:Number}) = term(real, s)
109
# binary ops that return Bool
110
for (f, Domain) in [(==) => Number, (!=) => Number,
111
(<=) => Real, (>=) => Real,
112
- (< ) => Real, (> ) => Real,
+ (isless) => Real, (> ) => Real,
113
(& ) => Bool, (| ) => Bool,
114
xor => Bool]
115
@eval begin
116
promote_symtype(::$(typeof(f)), ::Type{<:$Domain}, ::Type{<:$Domain}) = Bool
117
- (::$(typeof(f)))(a::Symbolic{<:$Domain}, b::$Domain) = term($f, a, b, type=Bool)
118
- (::$(typeof(f)))(a::Symbolic{<:$Domain}, b::Symbolic{<:$Domain}) = term($f, a, b, type=Bool)
119
- (::$(typeof(f)))(a::$Domain, b::Symbolic{<:$Domain}) = term($f, a, b, type=Bool)
+ (::$(typeof(f)))(a::Symbolic, b::$Domain) = term($f, a, b, type=Bool)
+ (::$(typeof(f)))(a::Symbolic, b::Symbolic) = term($f, a, b, type=Bool)
+ (::$(typeof(f)))(a::$Domain, b::Symbolic) = term($f, a, b, type=Bool)
120
end
121
122
0 commit comments