Open chelseas opened 2 years ago
Here is a minimal example:
julia> Int64(9) < Basic("10") true
but:
julia> max(Basic(6.), 9) ERROR: MethodError: no method matching isless(::Int64, ::Basic) Closest candidates are: isless(::Union{Number, Dates.AbstractTime}, ::IntervalSets.ClosedInterval{T} where T) at /home/csidrane/.julia/packages/AxisArrays/FWWEV/src/intervals.jl:53 isless(::Real, ::Union{StatsBase.PValue, StatsBase.TestStat}) at /home/csidrane/.julia/packages/StatsBase/CuCbN/src/statmodels.jl:515 isless(::Real, ::AbstractGray{T} where T) at /home/csidrane/.julia/packages/ColorTypes/6m8P7/src/operations.jl:32 ... Stacktrace: [1] max(x::Basic, y::Int64) @ Base ./operators.jl:419 [2] top-level scope @ REPL[50]:1 [3] top-level scope @ ~/.julia/packages/CUDA/YpW0k/src/initialization.jl:52
Here is a minimal example:
but: