Skip to content

Commit eb25f4a

Browse files
authored
Update Chebyshev.jl
1 parent 71a14c4 commit eb25f4a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Spaces/Chebyshev/Chebyshev.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ Chebyshev(d) = Chebyshev(Domain(d))
2525
NormalizedChebyshev() = NormalizedPolynomialSpace(Chebyshev())
2626
NormalizedChebyshev(d) = NormalizedPolynomialSpace(Chebyshev(d))
2727

28+
function Base.getproperty(S::Chebyshev{<:Any,<:Any},v::symbol)
29+
if v==:b || v==:a
30+
-0.5
31+
else
32+
getfield(S,v)
33+
end
34+
end
35+
2836
normalization(::Type{T}, sp::Chebyshev, k::Int) where T = T(π)/(2-FastTransforms.δ(k,0))
2937

3038
Space(d::SegmentDomain) = Chebyshev(d)

0 commit comments

Comments
 (0)