Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
mtfishman and github-actions[bot] authored Oct 6, 2023
1 parent 0b8b04b commit b567201
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion NDTensors/src/BlockSparseArrays/src/blocksparsearray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ struct BlockZero{Axes}
axes::Axes
end

function (f::BlockZero)(arraytype::Type{<:AbstractArray{T,N}}, I::CartesianIndex{N}) where {T,N}
function (f::BlockZero)(
arraytype::Type{<:AbstractArray{T,N}}, I::CartesianIndex{N}
) where {T,N}
return fill!(arraytype(undef, block_size(f.axes, Block(Tuple(I)))), false)
end

Expand Down

0 comments on commit b567201

Please sign in to comment.