Skip to content

Commit c87b8f8

Browse files
committed
Remove method for Int dims
1 parent f7465c8 commit c87b8f8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

base/reshapedarray.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,7 @@ reshape
121121

122122
# we collect the vararg indices and only define methods for tuples of indices
123123
reshape(parent::AbstractArray, dims::Union{Integer,Colon,AbstractUnitRange}...) = reshape(parent, dims)
124-
reshape(parent::AbstractArray, dims::Tuple{Vararg{Integer}}) = reshape(parent, map(Int, dims))
125-
reshape(parent::AbstractArray, dims::Dims) = _reshape(parent, dims)
124+
reshape(parent::AbstractArray, dims::Tuple{Vararg{Integer}}) = _reshape(parent, map(Int, dims))
126125

127126
# Allow missing dimensions with Colon():
128127
# convert axes to sizes using to_shape, and convert colons to sizes using _reshape_uncolon

0 commit comments

Comments
 (0)