Skip to content

Commit 2ed9404

Browse files
authored
Clean up extraneous comments
1 parent cac1133 commit 2ed9404

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

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)