Skip to content

Commit 193993c

Browse files
Merge branch 'master' into dg/convert
2 parents 889f895 + 87b6460 commit 193993c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ BlockBandedMatrices = "ffab5731-97b5-5995-9138-79e8c1846df0"
5353
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
5454
ChainRules = "082447d4-558c-5d27-93f4-14fc19e9eca2"
5555
ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
56+
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
5657
GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527"
5758
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
5859
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
@@ -66,4 +67,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
6667
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
6768

6869
[targets]
69-
test = ["SafeTestsets", "Pkg", "Test", "Aqua", "Random", "SparseArrays", "SuiteSparse", "BandedMatrices", "BlockBandedMatrices", "GPUArraysCore", "StaticArrays", "StaticArraysCore", "Tracker", "ReverseDiff", "ChainRules", "ComponentArrays"]
70+
test = ["SafeTestsets", "Pkg", "Test", "Aqua", "Random", "SparseArrays", "SuiteSparse", "BandedMatrices", "BlockBandedMatrices", "GPUArraysCore", "StaticArrays", "StaticArraysCore", "Tracker", "ReverseDiff", "ChainRules", "FillArrays", "ComponentArrays"]

test/blockbandedmatrices.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11

22
using ArrayInterface
33
using BlockBandedMatrices
4+
using FillArrays
45
using Test
56

67
BB=BlockBandedMatrix(Ones(10,10),[1,2,3,4],[4,3,2,1],(1,0))
7-
BB[Block(1,1)].=[1 2 3 4]
8-
BB[Block(2,1)].=[5 6 7 8;9 10 11 12]
8+
BB[BlockBandedMatrices.Block(1,1)].=[1 2 3 4]
9+
BB[BlockBandedMatrices.Block(2,1)].=[5 6 7 8;9 10 11 12]
910
rowind,colind=ArrayInterface.findstructralnz(BB)
1011
@test [BB[rowind[i],colind[i]] for i in 1:length(rowind)]==
1112
[1,5,9,2,6,10,3,7,11,4,8,12,

0 commit comments

Comments
 (0)