diff --git a/test/Project.toml b/test/Project.toml index 15c7f5f..ac48bc4 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -15,12 +15,12 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] Aqua = "0.8.9" -GradedUnitRanges = "0.1" -DiagonalArrays = "0.2" BlockArrays = "1" -NamedDimsArrays = "0.5" -BlockSparseArrays = "0.2" +BlockSparseArrays = "0.2, 0.3" +DiagonalArrays = "0.2" +GradedUnitRanges = "0.1" ITensorBase = "0.1" +NamedDimsArrays = "0.5" SafeTestsets = "0.1" SparseArraysBase = "0.3" Suppressor = "0.2" diff --git a/test/test_basics.jl b/test/test_basics.jl index b2a18fd..b316e5f 100644 --- a/test/test_basics.jl +++ b/test/test_basics.jl @@ -154,7 +154,7 @@ using Test: @test, @test_broken, @test_throws, @testset @test !hasqns(a) r = gradedrange([U1(0) => 2, U1(1) => 2]) - d = BlockSparseArray{Float64}(r, dual(r)) + d = BlockSparseArray{Float64}(undef, r, dual(r)) d[Block(1, 1)] = randn(2, 2) d[Block(2, 2)] = randn(2, 2) i = Index(r)