Skip to content

Commit

Permalink
Fewer arg type params in Array construction (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub authored Oct 16, 2024
1 parent b987317 commit c2f3d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blockarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ function Base.Array(zerodim::BlockArray{T, 0}) where {T}
return arr
end

function Base.Array(block_array::BlockArray{T, N, R}) where {T,N,R}
function Base.Array(block_array::BlockArray{T}) where {T}
arr = Array{T}(undef, size(block_array))
for block_index in Iterators.product(blockaxes(block_array)...)
indices = getindex.(axes(block_array), block_index)
Expand Down

0 comments on commit c2f3d12

Please sign in to comment.