Skip to content

Commit 47e7f26

Browse files
committed
typestable getindex for Jacobi conversion
1 parent 0f042d4 commit 47e7f26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Spaces/Jacobi/JacobiOperators.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,8 @@ function getindex(C::ConcreteConversion{US,J,T},k::Integer,j::Integer) where {US
453453
if j==k
454454
S=rangespace(C)
455455
jp=jacobip(T,k-1,S.a,S.b,one(T))
456-
um=Evaluation(setcanonicaldomain(domainspace(C)),rightendpoint,0)[k]
457-
um/jp::T
456+
um=convert(Operator{T}, Evaluation(setcanonicaldomain(domainspace(C)),rightendpoint,0))[k]::T
457+
(um/jp)::T
458458
else
459459
zero(T)
460460
end

0 commit comments

Comments
 (0)