ApproxFun.jl
ApproxFun.jl copied to clipboard
high precision example in readme throws error
julia> setprecision(1000)
1000
julia> d = BigFloat(0)..BigFloat(1)
0.0..1.0
julia> D = Derivative(d)
ConcreteDerivative : Chebyshev(0.0..1.0) → Ultraspherical(1,0.0..1.0)
Error showing value of type ApproxFun.ConcreteDerivative{Chebyshev{Interval{:closed,:closed,BigFloat},BigFloat},Int64,BigFloat}:
ERROR: StackOverflowError:
Stacktrace:
[1] _range(::BigFloat, ::BigFloat, ::Nothing, ::Int64) at ./range.jl:86 (repeats 80000 times)
on
[28f2ccd6] ApproxFun v0.10.0
This is a known bug in Base: https://github.com/JuliaLang/julia/issues/25853#issuecomment-413480727
You can work around it by overriding range(::BigFloat, ::BigFloat, ::Nothing, ::Int64)
Closing, as this is fixed now on Julia v1.8