cjdoris/Infinity.jl

StackOverflow with `==`

Closed this issue · 0 comments

omus commented
julia> using Infinity

julia> InfExtendedReal{Float64}(-∞) == InfExtendedReal{Float64}(Inf)
ERROR: StackOverflowError:
Stacktrace:
 [1] ==(::InfExtendedReal{Float64}, ::InfExtendedReal{Float64}) at /Users/omus/.julia/dev/Infinity/src/infextendedreal/comparison.jl:1
 [2] ==(::Infinite, ::Float64) at ./promotion.jl:348
 ... (the last 2 lines are repeated 14439 more times)
 [28881] ==(::InfExtendedReal{Float64}, ::InfExtendedReal{Float64}) at /Users/omus/.julia/dev/Infinity/src/infextendedreal/comparison.jl:1