Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evaluate Fun on FloatRange #57

Closed
goretkin opened this issue Dec 4, 2014 · 0 comments
Closed

evaluate Fun on FloatRange #57

goretkin opened this issue Dec 4, 2014 · 0 comments

Comments

@goretkin
Copy link
Contributor

goretkin commented Dec 4, 2014

currently gives a stack overflow

julia> x = Fun(identity)
Fun{UltrasphericalSpace{0},Float64}([0.0,1.0],UltrasphericalSpace{0}(Interval{Float64}(-1.0,1.0)))

julia> x[1.0:0.1:5.0]
ERROR: stack overflow

If you evaluate the FloatRange as an array before ( [1.:.1:5.]), then there's no problem.

This stack trace I wasn't able to reproduce may help

julia> vec(yn)[1][3:.01:4]
ERROR: stack overflow
 in abs at operators.jl:359
 in clenshaw at /Users/goretkin/.julia/v0.3/ApproxFun/src/LinearAlgebra/clenshaw.jl:12
 in clenshaw at /Users/goretkin/.julia/v0.3/ApproxFun/src/LinearAlgebra/clenshaw.jl:15 (repeats 52398 times)
 in getindex at /Users/goretkin/.julia/v0.3/ApproxFun/src/Fun/Fun.jl:76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant