Skip to content

Commit 31c97f4

Browse files
authored
Clean up extraneous comments (#171)
1 parent cac1133 commit 31c97f4

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "BlockSparseArrays"
22
uuid = "2c9a651f-6452-4ace-a6ac-809f4280fbb4"
33
authors = ["ITensor developers <[email protected]> and contributors"]
4-
version = "0.9.3"
4+
version = "0.9.4"
55

66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

src/blocksparsearrayinterface/getunstoredblock.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,10 @@ function Base.AbstractArray{A}(a::ZeroBlocks{N}) where {N,A}
1818
end
1919

2020
@inline function Base.getindex(a::ZeroBlocks{N,A}, I::Vararg{Int,N}) where {N,A}
21-
22-
#foreach(display, a.parentaxes)
23-
#foreach(display ∘ eachblockaxis, a.parentaxes)
24-
2521
# TODO: Use `BlockArrays.eachblockaxes`.
2622
ax = ntuple(N) do d
2723
return eachblockaxis(a.parentaxes[d])[I[d]]
2824
end
29-
30-
#@show ax
31-
3225
!isconcretetype(A) && return zero!(similar(Array{eltype(A),N}, ax))
3326
return zero!(similar(A, ax))
3427
end

0 commit comments

Comments
 (0)