Skip to content

Commit 6dd188e

Browse files
bjarthuroschulz
authored andcommitted
fix nestedview docstring
the N and M are backwards in the docstring: ``` julia> Af=reshape(1:3*3*5, 3,3,5); julia> size(Af) (3, 3, 5) julia> An=nestedview(Af,2); julia> size(An) (5,) julia> size(An[1]) (3, 3) julia> ndims(An[1]) 2 ```
1 parent 5a25550 commit 6dd188e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export flatview
5555
5656
AbstractArray{<:AbstractArray{T,M},N}
5757
58-
View array `A` in as an `M`-dimensional array of `N`-dimensional arrays by
58+
View array `A` in as an `N`-dimensional array of `M`-dimensional arrays by
5959
wrapping it into an [`ArrayOfSimilarArrays`](@ref).
6060
6161
It's also possible to use a `StaticVector` of length `S` as the type of the

0 commit comments

Comments
 (0)