ApproxFun.jl
ApproxFun.jl copied to clipboard
`Taylor(0..1)` fails
On julia v1.0 and ApproxFun v0.9.0
julia> Taylor(0..1)
ERROR: MethodError: no method matching Hardy{true,D,R} where R where D<:Domain(::IntervalSets.ClosedInterval{Int64})
Closest candidates are:
Hardy{true,D,R} where R where D<:Domain() where s at /home/jonas/.julia/packages/ApproxFun/wFAIT/src/Spaces/Fourier/Fourier.jl:62
Hardy{true,D,R} where R where D<:Domain(::Domain) where s at /home/jonas/.julia/packages/ApproxFun/wFAIT/src/Spaces/Fourier/Fourier.jl:61
Stacktrace:
[1] top-level scope at none:0
This works for Fourier and Laurent and so on, so I assume this is a bug.
Yes that’s a bug. Using Taylor(PeriodicSegment(0,1)) should work though
Hmm. PeriodicSegment does not seem to be defined.
Sorry meant PeriodicInterval in the last tagged version