ApproxFun.jl icon indicating copy to clipboard operation
ApproxFun.jl copied to clipboard

`Taylor(0..1)` fails

Open JonasIsensee opened this issue 7 years ago • 3 comments

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.

JonasIsensee avatar Sep 24 '18 11:09 JonasIsensee

Yes that’s a bug. Using Taylor(PeriodicSegment(0,1)) should work though

dlfivefifty avatar Sep 24 '18 11:09 dlfivefifty

Hmm. PeriodicSegment does not seem to be defined.

JonasIsensee avatar Sep 24 '18 12:09 JonasIsensee

Sorry meant PeriodicInterval in the last tagged version

dlfivefifty avatar Sep 24 '18 12:09 dlfivefifty