Skip to content

Commit 86c3b02

Browse files
CompatHelper: bump compat for "ArrayLayouts" to "0.8" (#124)
* CompatHelper: bump compat for "ArrayLayouts" to "0.8" * update FillArrays * update tests Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Sheehan Olver <[email protected]>
1 parent 1af0411 commit 86c3b02

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ jobs:
1111
matrix:
1212
version:
1313
- '1.6'
14-
- '^1.7.0-0'
14+
- '1'
15+
- '^1.8.0-0'
1516
os:
1617
- ubuntu-latest
1718
- macOS-latest

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "BlockBandedMatrices"
22
uuid = "ffab5731-97b5-5995-9138-79e8c1846df0"
3-
version = "0.11.1"
3+
version = "0.11.2"
44

55
[deps]
66
ArrayLayouts = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"
@@ -13,10 +13,10 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1313
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1414

1515
[compat]
16-
ArrayLayouts = "0.7"
16+
ArrayLayouts = "0.8.2"
1717
BandedMatrices = "0.16.8"
1818
BlockArrays = "0.16.6"
19-
FillArrays = "0.11, 0.12"
19+
FillArrays = "0.13"
2020
MatrixFactorizations = "0.8.5"
2121
julia = "1.6"
2222

test/test_broadcasting.jl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using BandedMatrices, BlockBandedMatrices, BlockArrays, LinearAlgebra, ArrayLayouts, Test
2+
import Base: oneto
23

34
@testset "broadcasting" begin
45
@testset "general" begin
@@ -24,9 +25,9 @@ using BandedMatrices, BlockBandedMatrices, BlockArrays, LinearAlgebra, ArrayLayo
2425

2526
@testset "lmul!/rmul!" begin
2627
N = 10
27-
A = BlockBandedMatrix{Float64}(undef, 1:N,1:N, (1,1))
28+
A = BlockBandedMatrix{Float64}(undef, oneto(N),oneto(N), (1,1))
2829
A.data .= randn.()
29-
B = BlockBandedMatrix{Float64}(undef, 1:N,1:N, (2,2))
30+
B = BlockBandedMatrix{Float64}(undef, oneto(N),oneto(N), (2,2))
3031
B .= (-).(A)
3132
@test similar(A) isa typeof(A)
3233
@test similar(A,Float64) isa typeof(A)
@@ -71,9 +72,9 @@ using BandedMatrices, BlockBandedMatrices, BlockArrays, LinearAlgebra, ArrayLayo
7172
@test 2.0 .\ A isa typeof(A)
7273
@test blockbandwidths(2\A) == blockbandwidths(2.0 .\ A) == blockbandwidths(A)
7374

74-
A = BandedBlockBandedMatrix{Float64}(undef, 1:N,1:N, (1,1),(1,1))
75+
A = BandedBlockBandedMatrix{Float64}(undef, oneto(N),oneto(N), (1,1),(1,1))
7576
A.data .= randn.()
76-
B = BandedBlockBandedMatrix{Float64}(undef, 1:N,1:N, (2,2),(2,2))
77+
B = BandedBlockBandedMatrix{Float64}(undef, oneto(N),oneto(N), (2,2),(2,2))
7778
B .= (-).(A)
7879
@test similar(A) isa typeof(A)
7980
@test similar(A,Float64) isa typeof(A)

0 commit comments

Comments
 (0)