Skip to content

Commit 2bb907b

Browse files
github-actions[bot]CompatHelper Juliamtfishman
authored
CompatHelper: bump compat for BlockSparseArrays to 0.3 for package test, (keep existing compat) (#52)
* CompatHelper: bump compat for BlockSparseArrays to 0.3 for package test, (keep existing compat) * Fix tests --------- Co-authored-by: CompatHelper Julia <[email protected]> Co-authored-by: mtfishman <[email protected]>
1 parent a8918eb commit 2bb907b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

test/Project.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1515

1616
[compat]
1717
Aqua = "0.8.9"
18-
GradedUnitRanges = "0.1"
19-
DiagonalArrays = "0.2"
2018
BlockArrays = "1"
21-
NamedDimsArrays = "0.5"
22-
BlockSparseArrays = "0.2"
19+
BlockSparseArrays = "0.2, 0.3"
20+
DiagonalArrays = "0.2"
21+
GradedUnitRanges = "0.1"
2322
ITensorBase = "0.1"
23+
NamedDimsArrays = "0.5"
2424
SafeTestsets = "0.1"
2525
SparseArraysBase = "0.3"
2626
Suppressor = "0.2"

test/test_basics.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ using Test: @test, @test_broken, @test_throws, @testset
154154
@test !hasqns(a)
155155

156156
r = gradedrange([U1(0) => 2, U1(1) => 2])
157-
d = BlockSparseArray{Float64}(r, dual(r))
157+
d = BlockSparseArray{Float64}(undef, r, dual(r))
158158
d[Block(1, 1)] = randn(2, 2)
159159
d[Block(2, 2)] = randn(2, 2)
160160
i = Index(r)

0 commit comments

Comments
 (0)