Skip to content

Commit 7c5a10a

Browse files
CompatHelper: bump compat for "QuasiArrays" to "0.9" (#109)
* CompatHelper: bump compat for "QuasiArrays" to "0.9" * Tests pass * Update Project.toml * Update Project.toml * Update Project.toml * fix evaluartion Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Sheehan Olver <[email protected]>
1 parent cd30d2c commit 7c5a10a

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

Project.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "MultivariateOrthogonalPolynomials"
22
uuid = "4f6956fd-4f93-5457-9149-7bfc4b2ce06d"
3-
version = "0.2.3"
3+
version = "0.2.4"
44

55
[deps]
66
ArrayLayouts = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"
@@ -28,17 +28,17 @@ ArrayLayouts = "0.7"
2828
BandedMatrices = "0.16"
2929
BlockArrays = "0.16.7"
3030
BlockBandedMatrices = "0.11"
31-
ClassicalOrthogonalPolynomials = "0.4.2"
32-
ContinuumArrays = "0.8, 0.9"
31+
ClassicalOrthogonalPolynomials = "0.5.1"
32+
ContinuumArrays = "0.10"
3333
DomainSets = "0.5"
34-
FastTransforms = "0.12"
35-
FillArrays = "0.11, 0.12"
36-
HarmonicOrthogonalPolynomials = "0.2"
34+
FastTransforms = "0.13"
35+
FillArrays = "0.12"
36+
HarmonicOrthogonalPolynomials = "0.2.4"
3737
InfiniteArrays = "0.12"
3838
InfiniteLinearAlgebra = "0.6"
39-
LazyArrays = "0.21.8, 0.22"
39+
LazyArrays = "0.22.4"
4040
LazyBandedMatrices = "0.7"
41-
QuasiArrays = "0.8"
41+
QuasiArrays = "0.9"
4242
SpecialFunctions = "1"
4343
StaticArrays = "1"
4444
julia = "1.6"

src/MultivariateOrthogonalPolynomials.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ using ClassicalOrthogonalPolynomials, FastTransforms, BlockBandedMatrices, Block
66
LazyArrays, SpecialFunctions, LinearAlgebra, BandedMatrices, LazyBandedMatrices, ArrayLayouts,
77
HarmonicOrthogonalPolynomials
88

9-
import Base: axes, in, ==, *, ^, \, copy, OneTo, getindex, size, oneto, all
9+
import Base: axes, in, ==, *, ^, \, copy, OneTo, getindex, size, oneto, all, resize!
1010
import DomainSets: boundary
1111

1212
import QuasiArrays: LazyQuasiMatrix, LazyQuasiArrayStyle
13-
import ContinuumArrays: @simplify, Weight, grid, plotgrid, TransformFactorization, Expansion
13+
import ContinuumArrays: @simplify, Weight, grid, plotgrid, TransformFactorization, ExpansionLayout
1414

1515
import ArrayLayouts: MemoryLayout, sublayout, sub_materialize
1616
import BlockArrays: block, blockindex, BlockSlice, viewblock
@@ -20,7 +20,7 @@ import LazyArrays: arguments, paddeddata, LazyArrayStyle, LazyLayout
2020
import LazyBandedMatrices: LazyBandedBlockBandedLayout, AbstractBandedBlockBandedLayout, AbstractLazyBandedBlockBandedLayout
2121
import InfiniteArrays: InfiniteCardinal
2222

23-
import ClassicalOrthogonalPolynomials: jacobimatrix, Weighted, orthogonalityweight, HalfWeighted
23+
import ClassicalOrthogonalPolynomials: jacobimatrix, Weighted, orthogonalityweight, HalfWeighted, WeightedBasis
2424
import HarmonicOrthogonalPolynomials: BivariateOrthogonalPolynomial, MultivariateOrthogonalPolynomial, Plan,
2525
PartialDerivative, AngularMomentum, BlockOneTo, BlockRange1, interlace
2626

src/triangle.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ getindex(P::JacobiTriangle, xy::SVector{2}, JR::BlockOneTo) =
569569
# Clenshaw
570570
###
571571

572-
function getindex(f::Expansion{T,<:JacobiTriangle}, xy::SVector{2}) where T
572+
function getindex(f::ApplyQuasiVector{T,typeof(*),<:Tuple{JacobiTriangle,AbstractVector}}, xy::SVector{2})::T where T
573573
P,c∞ = arguments(f)
574574
c = paddeddata(c∞)
575575
N = blocksize(c,1)
@@ -605,7 +605,7 @@ function getindex(f::Expansion{T,<:JacobiTriangle}, xy::SVector{2}) where T
605605
γ1[1]
606606
end
607607

608-
getindex(f::Expansion{T,<:JacobiTriangle}, xys::AbstractArray{<:SVector{2}}) where T =
608+
getindex(f::ApplyQuasiVector{T,typeof(*),<:Tuple{JacobiTriangle,AbstractVector}}, xys::AbstractArray{<:SVector{2}}) where T =
609609
[f[xy] for xy in xys]
610610

611611
# getindex(f::Expansion{T,<:JacobiTriangle}, x::AbstractVector{<:Number}) where T =

test/test_triangle.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ import MultivariateOrthogonalPolynomials: tri_forwardrecurrence, grid, TriangleR
5252
xy = SVector(0.1,0.2)
5353
c = PseudoBlockVector([1; Zeros(∞)], (axes(P,2),))
5454
f = P*c
55-
@test f[xy] == 1.0
55+
@test @inferred(f[xy]) == 1.0
5656
c = PseudoBlockVector([1:3; Zeros(∞)], (axes(P,2),))
5757
f = P*c
5858
@test f[xy] P[xy,1:3]'*(1:3)

0 commit comments

Comments
 (0)