diff --git a/base/abstractarraymath.jl b/base/abstractarraymath.jl index 0f028a0f667292..874a2215892bb1 100644 --- a/base/abstractarraymath.jl +++ b/base/abstractarraymath.jl @@ -432,7 +432,7 @@ julia> repeat([1, 2, 3], 2, 3) 3 3 3 ``` """ -function repeat(A::AbstractArray, counts...) +function repeat(A::AbstractArray, counts::Integer...) return repeat(A, outer=counts) end