Skip to content

Commit

Permalink
return missing formatdims method
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Aug 24, 2020
1 parent 9346a10 commit 0ec6d56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dimension.jl
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ formatdims(A::AbstractArray{<:Any,N}, dims::Tuple{Vararg{<:Any,N}}) where N =
_formatdims(axes(A), dims)
formatdims(A::AbstractArray{<:Any,N}, dims::Tuple{Vararg{<:Any,M}}) where {N,M} =
throw(DimensionMismatch("Array A has $N axes, while the number of dims is $M"))
formatdims(axes::Tuple, dims::Tuple) = _formatdims(axes, dims)


_formatdims(axes::Tuple{Vararg{<:AbstractRange}}, dims::Tuple) =
Expand Down

2 comments on commit 0ec6d56

@rafaqz
Copy link
Owner Author

@rafaqz rafaqz commented on 0ec6d56 Aug 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/20099

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.12.0 -m "<description of version>" 0ec6d560f40d6eb5ff2b1ccc89d7b86970165bde
git push origin v0.12.0

Please sign in to comment.