From 2ed9404c2fda40ef94a08dda62781308fda938e7 Mon Sep 17 00:00:00 2001 From: Matt Fishman Date: Mon, 18 Aug 2025 15:15:31 -0400 Subject: [PATCH 1/2] Clean up extraneous comments --- src/blocksparsearrayinterface/getunstoredblock.jl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/blocksparsearrayinterface/getunstoredblock.jl b/src/blocksparsearrayinterface/getunstoredblock.jl index 0669096..c5ae1dc 100644 --- a/src/blocksparsearrayinterface/getunstoredblock.jl +++ b/src/blocksparsearrayinterface/getunstoredblock.jl @@ -18,17 +18,10 @@ function Base.AbstractArray{A}(a::ZeroBlocks{N}) where {N,A} end @inline function Base.getindex(a::ZeroBlocks{N,A}, I::Vararg{Int,N}) where {N,A} - - #foreach(display, a.parentaxes) - #foreach(display ∘ eachblockaxis, a.parentaxes) - # TODO: Use `BlockArrays.eachblockaxes`. ax = ntuple(N) do d return eachblockaxis(a.parentaxes[d])[I[d]] end - - #@show ax - !isconcretetype(A) && return zero!(similar(Array{eltype(A),N}, ax)) return zero!(similar(A, ax)) end From 402147485dfc1218f7b6189f6334d4ecb14690f7 Mon Sep 17 00:00:00 2001 From: Matt Fishman Date: Mon, 18 Aug 2025 15:15:59 -0400 Subject: [PATCH 2/2] Update Project.toml --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 143f86d..1175406 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.9.3" +version = "0.9.4" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"