Skip to content

Commit

Permalink
tighten signature of repeat
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabbott committed Aug 10, 2024
1 parent 2635dea commit d4b18e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/abstractarraymath.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d4b18e6

Please sign in to comment.