Skip to content

Commit dcb37b7

Browse files
committed
Typo
1 parent 251e691 commit dcb37b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ClassicalOrthogonalPolynomials.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,8 @@ function gausslobatto(P::Monic{T}, n::Integer) where {T}
346346
a, b = axes(P, 1)[begin], axes(P, 1)[end]
347347
J = jacobimatrix(P.P, n + 2)
348348
α, β = diagonaldata(J), supdiagonaldata(J)
349-
p0a, p0b = P[a, (n+1):(n+2)]
350-
p1a, p1b = P[b, (n+1):(n+2)]
349+
p0a, p1a = P[a, (n+1):(n+2)]
350+
p0b, p1b = P[b, (n+1):(n+2)]
351351
# Solve Eq. 3.1.2.8
352352
Δ = p1a * p0b - p1b * p0a # This could underflow/overflow for large n
353353
aext = (a * p1a * p0b - b * p1b * p0a) / Δ

0 commit comments

Comments
 (0)