diff --git a/Project.toml b/Project.toml index a550e68e..bde6c7a7 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "BlockSparseArrays" uuid = "2c9a651f-6452-4ace-a6ac-809f4280fbb4" authors = ["ITensor developers and contributors"] -version = "0.3.1" +version = "0.3.2" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" @@ -43,7 +43,7 @@ LabelledNumbers = "0.1.0" LinearAlgebra = "1.10" MacroTools = "0.5.13" MapBroadcast = "0.1.5" -SparseArraysBase = "0.3.2" +SparseArraysBase = "0.4" SplitApplyCombine = "1.2.3" TensorAlgebra = "0.1.0, 0.2" Test = "1.10" diff --git a/src/blocksparsearray/blocksparsearray.jl b/src/blocksparsearray/blocksparsearray.jl index 9d7e570e..ea762ea1 100644 --- a/src/blocksparsearray/blocksparsearray.jl +++ b/src/blocksparsearray/blocksparsearray.jl @@ -24,7 +24,7 @@ and should be imported from that package to use it as an input to this construct function SparseArraysBase.SparseArrayDOK{T,N}( ::UndefBlocksInitializer, ax::Tuple{Vararg{AbstractUnitRange{<:Integer},N}} ) where {T,N} - return SparseArrayDOK{T,N}(undef, blocklength.(ax), GetUnstoredBlock(ax)) + return SparseArrayDOK{T,N}(undef, blocklength.(ax); getunstored=GetUnstoredBlock(ax)) end function SparseArraysBase.SparseArrayDOK{T,N}( ::UndefBlocksInitializer, ax::Vararg{AbstractUnitRange{<:Integer},N} diff --git a/test/Project.toml b/test/Project.toml index 817fd103..69bc9612 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -32,14 +32,14 @@ GPUArraysCore = "0.2" GradedUnitRanges = "0.1" JLArrays = "0.2" LabelledNumbers = "0.1" +LinearAlgebra = "1" +Pkg = "1" +Random = "1" SafeTestsets = "0.1" -SparseArraysBase = "0.3" +SparseArraysBase = "0.4" Suppressor = "0.2" SymmetrySectors = "0.1" TensorAlgebra = "0.2" +Test = "1" TestExtras = "0.3" TypeParameterAccessors = "0.3" -LinearAlgebra = "1" -Pkg = "1" -Random = "1" -Test = "1"