Skip to content

Commit

Permalink
Update src/SemiclassicalOrthogonalPolynomials.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Sheehan Olver <solver@mac.com>
  • Loading branch information
TSGut and dlfivefifty authored Jun 24, 2024
1 parent dc70b6b commit 5279d29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SemiclassicalOrthogonalPolynomials.jl
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,8 @@ Returns conversion operator from SemiclassicalJacobi `P` to SemiclassicalJacobi
"""
function semijacobi_ldiv(Q::SemiclassicalJacobi, P::SemiclassicalJacobi)
@assert Q.t P.t
(Q.t P.t) && (Q.a P.a) && (Q.b P.b) && (Q.c P.c) && return SymTridiagonal(Ones(∞),Zeros(∞))
T = promote_type(eltype(Q), eltype(P))
(Q.t P.t) && (Q.a P.a) && (Q.b P.b) && (Q.c P.c) && return SquareEye{T}(∞)
Δa = Q.a-P.a
Δb = Q.b-P.b
Δc = Q.c-P.c
Expand Down

0 comments on commit 5279d29

Please sign in to comment.