Skip to content

Commit abc61e6

Browse files
committed
Change ArrayOfSimilarArrays ctor argument name
1 parent 9d16919 commit abc61e6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/array_of_similar_arrays.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ implicitly have equal size/axes.
4040
4141
Constructors:
4242
43-
ArrayOfSimilarArrays{N}(flatview::AbstractArray)
43+
ArrayOfSimilarArrays{N}(flat_data::AbstractArray)
4444
4545
The following type aliases are defined:
4646
@@ -57,10 +57,10 @@ struct ArrayOfSimilarArrays{
5757
} <: AbstractArrayOfSimilarArrays{T,M,N}
5858
data::P
5959

60-
function ArrayOfSimilarArrays{T,M,N}(flatview::AbstractArray{U,L}) where {T,M,N,L,U}
61-
size_inner, size_outer = split_tuple(size(flatview), Val{M}())
62-
require_ndims(flatview, _add_vals(Val{M}(), Val{N}()))
63-
conv_parent = _convert_elype(T, flatview)
60+
function ArrayOfSimilarArrays{T,M,N}(flat_data::AbstractArray{U,L}) where {T,M,N,L,U}
61+
size_inner, size_outer = split_tuple(size(flat_data), Val{M}())
62+
require_ndims(flat_data, _add_vals(Val{M}(), Val{N}()))
63+
conv_parent = _convert_elype(T, flat_data)
6464
P = typeof(conv_parent)
6565
new{T,M,N,L,P}(conv_parent)
6666
end

0 commit comments

Comments
 (0)