Skip to content

Commit 87b6460

Browse files
Merge pull request #444 from JuliaArrays/ChrisRackauckas-patch-2
Fix tests
2 parents 50a8aff + ecabd8e commit 87b6460

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
@@ -52,6 +52,7 @@ BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
5252
BlockBandedMatrices = "ffab5731-97b5-5995-9138-79e8c1846df0"
5353
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
5454
ChainRules = "082447d4-558c-5d27-93f4-14fc19e9eca2"
55+
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
5556
GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527"
5657
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
5758
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
@@ -65,4 +66,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
6566
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
6667

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

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)