Skip to content

Commit a0b01af

Browse files
github-actions[bot]CompatHelper Juliajishnub
authored
CompatHelper: bump compat for LazyArrays to 2, (keep existing compat) (#652)
* CompatHelper: bump compat for LazyArrays to 2, (keep existing compat) * Update BlockArrays and BlockBandedMatrices BlockArrays v1 and BlockBandedMatrices v0.13 * Support older versions of BlockArrays and BlockBandedMatrices * Bump InfiniteArrays compat to include v0.14 * Change PseudoBlockArray to BlockedArray * Import BlockedMatrix * Require BlockArrays v1 * Bump minimum Julia version to v1.10 * Bump compat bounds for FillArrays and BlockBandedMatrices * Bump BandedMatrices compat to v1 --------- Co-authored-by: CompatHelper Julia <[email protected]> Co-authored-by: Jishnu Bhattacharya <[email protected]>
1 parent 4c3a678 commit a0b01af

File tree

6 files changed

+27
-27
lines changed

6 files changed

+27
-27
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
matrix:
4040
version:
4141
- '1'
42-
- '1.9'
42+
- '1.10'
4343
os:
4444
- ubuntu-latest
4545
- macOS-latest

Project.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ApproxFunBase"
22
uuid = "fbd15aa5-315a-5a7d-a8a4-24992e37be05"
3-
version = "0.9.27"
3+
version = "0.9.28"
44

55
[deps]
66
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
@@ -27,29 +27,29 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2727
[compat]
2828
AbstractFFTs = "0.5, 1"
2929
Aqua = "0.8"
30-
BandedMatrices = "0.17.18, 1"
31-
BlockArrays = "0.16.26"
32-
BlockBandedMatrices = "0.12"
30+
BandedMatrices = "1"
31+
BlockArrays = "1"
32+
BlockBandedMatrices = "0.13"
3333
Calculus = "0.5"
3434
Combinatorics = "1.0.2"
3535
DSP = "0.7.4"
3636
DomainSets = "0.6, 0.7"
3737
DualNumbers = "0.6.6"
3838
FFTW = "1.1"
39-
FillArrays = "1"
40-
InfiniteArrays = "0.13"
39+
FillArrays = "1.11"
40+
InfiniteArrays = "0.13, 0.14"
4141
Infinities = "0.1.1"
4242
IntervalSets = "0.7.4"
43-
LazyArrays = "1"
44-
LinearAlgebra = "1.9"
43+
LazyArrays = "1, 2"
44+
LinearAlgebra = "1"
4545
LowRankMatrices = "1"
46-
Random = "1.9"
47-
SparseArrays = "1.9"
46+
Random = "1"
47+
SparseArrays = "1"
4848
SpecialFunctions = "2"
4949
StaticArrays = "1.3"
50-
Statistics = "1.9"
51-
Test = "1.9"
52-
julia = "1.9"
50+
Statistics = "1"
51+
Test = "1"
52+
julia = "1.10"
5353

5454
[extras]
5555
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"

src/ApproxFunBase.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ import BandedMatrices: bandrange, inbands_setindex!, bandwidth,
8787
bandwidths, _BandedMatrix, BandedMatrix, isbanded
8888

8989
import BlockArrays: blocksize, block, blockaxes, blockindex, blocklengths,
90-
PseudoBlockMatrix
90+
BlockedMatrix
9191
import BlockBandedMatrices: blockbandwidth, blockbandwidths, blockcolstop,
9292
blockcolrange, blockcolstart, blockrowstop, blockrowstart,
9393
subblockbandwidth, subblockbandwidths, _BlockBandedMatrix,

src/Caching/bandedblockbanded.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ function resizedata!(B::CachedOperator{T,<:BandedBlockBandedMatrix{T}}, ::Colon,
2424
rows = blocklengths(rangespace(B.op))[1:J+l]
2525
cols = blocklengths(domainspace(B.op))[1:J]
2626

27-
# B.data = _BandedBlockBandedMatrix(PseudoBlockArray
27+
# B.data = _BandedBlockBandedMatrix(BlockedArray
2828

29-
blocks = PseudoBlockArray(pad(B.data.data.blocks,:,(l+u+1)*sum(cols)), (axes(B.data.data,1), blockedrange(cols)))
29+
blocks = BlockedArray(pad(B.data.data.blocks,:,(l+u+1)*sum(cols)), (axes(B.data.data,1), blockedrange(cols)))
3030
B.data = _BandedBlockBandedMatrix(blocks, rows, cols, (l, u), (λ, μ))
3131

3232
jr=B.datasize[2]+1:col

src/LinearAlgebra/helper.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,17 +386,17 @@ function interlace(a::AbstractVector, b::AbstractVector, (ncomponents_a, ncompon
386386
pad_b = pad(b, ncomponents_b * nblk_b)
387387

388388
blksz_a = Fill(ncomponents_a, nblk_a)
389-
aPBlk = PseudoBlockArray(pad_a, blksz_a)
389+
aPBlk = BlockedArray(pad_a, blksz_a)
390390
blksz_b = Fill(ncomponents_b, nblk_b)
391-
bPBkl = PseudoBlockArray(pad_b, blksz_b)
391+
bPBkl = BlockedArray(pad_b, blksz_b)
392392

393393
nblk_ret = nblk_a + nblk_b
394394
blksz_ret = zeros(Int, nblk_ret)
395395
blksz_ret[1:2:end] = blksz_a
396396
blksz_ret[2:2:end] = blksz_b
397397
nret = sum(blksz_ret)
398398
ret = initvector(T, nret)
399-
retPBlk = PseudoBlockArray(ret, blksz_ret)
399+
retPBlk = BlockedArray(ret, blksz_ret)
400400

401401
@views begin
402402
for (ind, i) in enumerate(1:2:nblk_ret)

src/Operators/Operator.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -687,9 +687,9 @@ macro wrappergetindex(Wrap)
687687
ApproxFunBase.default_BlockBandedMatrix)
688688
end
689689

690-
function ApproxFunBase.PseudoBlockMatrix(S::ApproxFunBase.SubOperator{T,OP}) where {T,OP<:$Wrap}
690+
function ApproxFunBase.BlockedMatrix(S::ApproxFunBase.SubOperator{T,OP}) where {T,OP<:$Wrap}
691691
ApproxFunBase._blockmaybebandedmatrix(S,
692-
ApproxFunBase.PseudoBlockMatrix,
692+
ApproxFunBase.BlockedMatrix,
693693
ApproxFunBase.default_BlockMatrix)
694694
end
695695

@@ -886,18 +886,18 @@ function BlockBandedMatrix(S::Operator)
886886
end
887887

888888
function default_BlockMatrix(S::Operator)
889-
ret = PseudoBlockArray(zeros(eltype(S), size(S)),
889+
ret = BlockedArray(zeros(eltype(S), size(S)),
890890
AbstractVector{Int}(blocklengths(rangespace(S))),
891891
AbstractVector{Int}(blocklengths(domainspace(S))))
892892
ret .= S
893893
ret
894894
end
895895

896-
function PseudoBlockMatrix(S::Operator)
896+
function BlockedMatrix(S::Operator)
897897
if isbandedblockbanded(S)
898-
PseudoBlockMatrix(BandedBlockBandedMatrix(S))
898+
BlockedMatrix(BandedBlockBandedMatrix(S))
899899
elseif isblockbanded(S)
900-
PseudoBlockMatrix(BlockBandedMatrix(S))
900+
BlockedMatrix(BlockBandedMatrix(S))
901901
else
902902
default_BlockMatrix(S)
903903
end
@@ -937,7 +937,7 @@ function arraytype(V::SubOperator{T,B,Tuple{KR,JR}}) where {T, B, KR <: Union{Bl
937937
P = parent(V)
938938
isbandedblockbanded(P) && return BandedBlockBandedMatrix
939939
isblockbanded(P) && return BlockBandedMatrix
940-
return PseudoBlockMatrix
940+
return BlockedMatrix
941941
end
942942

943943
function arraytype(V::SubOperator{T,B,Tuple{KR,JR}}) where {T, B, KR <: Block, JR <: Block}

0 commit comments

Comments
 (0)