Skip to content

Commit e133f71

Browse files
committed
Fixes for new InfiniteArrays
1 parent c8465dd commit e133f71

File tree

7 files changed

+19
-20
lines changed

7 files changed

+19
-20
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
version:
13-
- '1.3'
14-
- '1'
13+
- '1.5'
1514
- '^1.6.0-0'
1615
os:
1716
- ubuntu-latest

Project.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2121

2222
[compat]
2323
AbstractFFTs = "0.5, 1"
24-
ApproxFunBase = "0.3, 0.4"
25-
BandedMatrices = "0.14, 0.15, 0.16"
26-
BlockArrays = "0.12.11, 0.13, 0.14"
27-
BlockBandedMatrices = "0.6, 0.7.1, 0.8, 0.9, 0.10"
28-
DomainSets = "0.3, 0.4"
24+
ApproxFunBase = "0.4"
25+
BandedMatrices = "0.16"
26+
BlockArrays = "0.14"
27+
BlockBandedMatrices = "0.10"
28+
DomainSets = "0.4"
2929
FFTW = "1.1"
3030
FastGaussQuadrature = "0.4"
31-
FastTransforms = "0.10, 0.11, 0.12"
32-
FillArrays = "0.8, 0.9.4, 0.10, 0.11"
31+
FastTransforms = "0.12"
32+
FillArrays = "0.11"
3333
IntervalSets = "0.5"
3434
Reexport = "0.2, 1"
35-
SpecialFunctions = "0.8, 0.9, 0.10, 1.0"
36-
julia = "1.3"
35+
SpecialFunctions = "0.10, 1.0"
36+
julia = "1.5"
3737

3838
[extras]
3939
LazyArrays = "5078a376-72f3-5289-bfd5-ec5146d43c02"

src/ApproxFunOrthogonalPolynomials.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import ApproxFunBase: normalize!, flipsign, FiniteRange, Fun, MatrixFun, UnsetSp
4444
domaintype, diagindshift, rangetype, weight, isapproxinteger, default_Dirichlet, scal!, dotu,
4545
components, promoterangespace, promotedomainspace,
4646
block, blockstart, blockstop, blocklengths, isblockbanded, pointscompatible, affine_setdiff, complexroots,
47-
ℓ⁰, recα, recβ, recγ, ∞, RectDomain
47+
ℓ⁰, recα, recβ, recγ, ℵ₀, ∞, RectDomain
4848

4949
import DomainSets: Domain, indomain, UnionDomain, ProductDomain, FullSpace, Point, elements, DifferenceDomain,
5050
Interval, ChebyshevInterval, boundary, ∂, rightendpoint, leftendpoint,

src/Spaces/Jacobi/JacobiOperators.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ for (Func,Len,Sum) in ((:DefiniteIntegral,:complexlength,:sum),(:DefiniteLineInt
189189
if domainspace(Σ).b == domainspace(Σ).a == 0
190190
0,0 # first entry
191191
else
192-
0,
192+
0,ℵ₀
193193
end
194194
end
195195
end

src/Spaces/Ultraspherical/DirichletSpace.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ conversion_rule(b::ChebyshevDirichlet,a::Chebyshev)=b
148148

149149

150150
bandwidths(B::ConcreteEvaluation{ChebyshevDirichlet{1,0,D,R},typeof(leftendpoint)}) where {D,R} = 0,0
151-
bandwidths(B::ConcreteEvaluation{ChebyshevDirichlet{1,0,D,R},typeof(rightendpoint)}) where {D,R} = 0,
152-
bandwidths(B::ConcreteEvaluation{ChebyshevDirichlet{0,1,D,R},typeof(leftendpoint)}) where {D,R} = 0,
151+
bandwidths(B::ConcreteEvaluation{ChebyshevDirichlet{1,0,D,R},typeof(rightendpoint)}) where {D,R} = 0,ℵ₀
152+
bandwidths(B::ConcreteEvaluation{ChebyshevDirichlet{0,1,D,R},typeof(leftendpoint)}) where {D,R} = 0,ℵ₀
153153
bandwidths(B::ConcreteEvaluation{ChebyshevDirichlet{0,1,D,R},typeof(rightendpoint)}) where {D,R} = 0,0
154154
bandwidths(B::ConcreteEvaluation{ChebyshevDirichlet{1,1,D,R},typeof(leftendpoint)}) where {D,R} = 0,1
155155
bandwidths(B::ConcreteEvaluation{ChebyshevDirichlet{1,1,D,R},typeof(rightendpoint)}) where {D,R} = 0,1

src/Spaces/Ultraspherical/UltrasphericalOperators.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,12 +206,12 @@ bandwidths(C::ConcreteConversion{<:Chebyshev,<:Ultraspherical{Int}}) = 0,2 # or
206206
bandwidths(C::ConcreteConversion{<:Ultraspherical{Int},<:Ultraspherical{Int}}) = 0,2
207207

208208
bandwidths(C::ConcreteConversion{<:Chebyshev,<:Ultraspherical}) =
209-
0,order(rangespace(C))==1 ? 2 :
209+
0,order(rangespace(C))==1 ? 2 : ℵ₀
210210
bandwidths(C::ConcreteConversion{<:Ultraspherical,<:Chebyshev}) =
211-
0,order(domainspace(C))==1 ? 2 :
211+
0,order(domainspace(C))==1 ? 2 : ℵ₀
212212

213213
bandwidths(C::ConcreteConversion{<:Ultraspherical,<:Ultraspherical}) =
214-
0,order(domainspace(C))+1==order(rangespace(C)) ? 2 :
214+
0,order(domainspace(C))+1==order(rangespace(C)) ? 2 : ℵ₀
215215

216216
Base.stride(C::ConcreteConversion{<:Chebyshev,<:Ultraspherical{Int}}) = 2
217217
Base.stride(C::ConcreteConversion{<:Ultraspherical,<:Ultraspherical}) = 2

test/ODETest.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using ApproxFunOrthogonalPolynomials, ApproxFunBase, SpecialFunctions, Test, LazyArrays
2-
import ApproxFunBase: Multiplication, testraggedbelowoperator, testbandedoperator, interlace, ∞
2+
import ApproxFunBase: Multiplication, testraggedbelowoperator, testbandedoperator, interlace, ∞, ℵ₀
33

44
@testset "ODE" begin
55
@testset "Airy" begin
@@ -95,7 +95,7 @@ import ApproxFunBase: Multiplication, testraggedbelowoperator, testbandedoperato
9595

9696
Q,R=qr([B;D^2+I])
9797
@test Q[1,1] == -0.5773502691896257
98-
@test size(Q') == (∞,∞)
98+
@test size(Q') == (ℵ₀,ℵ₀)
9999
u=R\(Q'*[[cos(-1.0),cos(1.0)],0.0])
100100

101101
@test u(0.) cos(0.0)

0 commit comments

Comments
 (0)