Skip to content

Commit 7ae1468

Browse files
committed
make ConvertedOP normalized again
1 parent fd138ca commit 7ae1468

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ClassicalOrthogonalPolynomials"
22
uuid = "b30e2e7b-c4ee-47da-9d5f-2c5c27239acd"
33
authors = ["Sheehan Olver <[email protected]>"]
4-
version = "0.14.3"
4+
version = "0.15"
55

66
[deps]
77
ArrayLayouts = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"

src/choleskyQR.jl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Represent an Orthogonal polynomial which has a conversion operator from P, that is, Q = P * inv(U).
2+
Represents orthonormal polynomials defined via a conversion operator from P, that is, Q = P * inv(U).
33
"""
44
struct ConvertedOrthogonalPolynomial{T, WW<:AbstractQuasiVector{T}, XX, UU, PP} <: OrthonormalPolynomial{T}
55
weight::WW
@@ -13,11 +13,8 @@ _p0(Q::ConvertedOrthogonalPolynomial) = _p0(Q.P)/Q.U[1,1]
1313
axes(Q::ConvertedOrthogonalPolynomial) = axes(Q.P)
1414

1515

16-
struct ConvertedOPLayout <: AbstractOPLayout end
16+
struct ConvertedOPLayout <: AbstractNormalizedOPLayout end
1717
MemoryLayout(::Type{<:ConvertedOrthogonalPolynomial}) = ConvertedOPLayout()
18-
equals_layout(::ConvertedOPLayout, ::ConvertedOPLayout, P, Q) = orthogonalityweight(P) == orthogonalityweight(Q)
19-
equals_layout(::ConvertedOPLayout, ::AbstractOPLayout, P, Q) = false # fix
20-
equals_layout(::AbstractOPLayout, ::ConvertedOPLayout, P, Q) = false # fix
2118

2219

2320

test/test_choleskyQR.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ import LazyArrays: AbstractCachedMatrix, resizedata!
230230

231231
@test Q[0.1,1] 1/sqrt(2)
232232
@test Q[0.1,1:10] Q̃[0.1,1:10]
233-
# AWESOME, thanks TSGUT!!
234233
@test Q[0.1,10_000] Q̃[0.1,10_000]
235234

236235
R = P \ Q

0 commit comments

Comments
 (0)