Skip to content

Commit 6864773

Browse files
committed
Updates for SparseArraysBase v0.7.1
1 parent c6d1d15 commit 6864773

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ LinearAlgebra = "1.10"
4040
MacroTools = "0.5.13"
4141
MapBroadcast = "0.1.5"
4242
MatrixAlgebraKit = "0.2.2"
43-
SparseArraysBase = "0.7"
43+
SparseArraysBase = "0.7.1"
4444
SplitApplyCombine = "1.2.3"
4545
TensorAlgebra = "0.3.2"
4646
Test = "1.10"

src/blocksparsearray/blocksparsearray.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ and should be imported from that package to use it as an input to this construct
2525
function SparseArraysBase.SparseArrayDOK{T,N}(
2626
::UndefBlocksInitializer, ax::Tuple{Vararg{AbstractUnitRange{<:Integer},N}}
2727
) where {T,N}
28-
return SparseArrayDOK{T,N}(Unstored(ZeroBlocks{N,T}(ax)))
28+
return SparseArrayDOK{T,N}(undef, Unstored(ZeroBlocks{N,T}(ax)))
2929
end
3030
function SparseArraysBase.SparseArrayDOK{T,N}(
3131
::UndefBlocksInitializer, ax::Vararg{AbstractUnitRange{<:Integer},N}

0 commit comments

Comments
 (0)