We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c6695e commit ee313baCopy full SHA for ee313ba
src/named_array_partition.jl
@@ -53,7 +53,7 @@ end
53
function Base.similar(
54
A::NamedArrayPartition, ::Type{T}, ::Type{S}, R::DataType...) where {T, S}
55
NamedArrayPartition(
56
- similar(getfield(A, :array_partition), T, S, R...), getfield(A, :names_to_indices))
+ similar(getfield(A, :array_partition), T, S, R...), getfield(A, :names_to_indices))
57
end
58
59
Base.Array(x::NamedArrayPartition) = Array(ArrayPartition(x))
0 commit comments