Skip to content

Commit

Permalink
avoid splatting
Browse files Browse the repository at this point in the history
  • Loading branch information
abraunst committed Dec 10, 2018
1 parent f0b9499 commit 62c414e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/multidimensional.jl
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ See also [`circshift`](@ref).
axes(dest) == inds || throw(ArgumentError("indices of src and dest must match (got $inds and $(axes(dest)))"))
_circshift!(dest, (), src, (), inds, fill_to_length(shiftamt, 0, Val(N)))
end
circshift!(dest::AbstractArray, src, shiftamt) = circshift!(dest, src, (shiftamt...,))
circshift!(dest::AbstractArray, src, shiftamt::Integer) = circshift!(dest, src, (shiftamt,))

# For each dimension, we copy the first half of src to the second half
# of dest, and the second half of src to the first half of dest. This
Expand Down

0 comments on commit 62c414e

Please sign in to comment.