Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add circshift! changes to docs? #46016

Open
cormullion opened this issue Jul 13, 2022 · 1 comment
Open

Add circshift! changes to docs? #46016

cormullion opened this issue Jul 13, 2022 · 1 comment
Labels
docs This change adds or pertains to documentation

Comments

@cormullion
Copy link
Contributor

On Julia v1.8rc1

julia> circshift!(collect(1:10), 1)
10-element Vector{Int64}:
  2
  3
  4
  5
  6
  7
  8
  9
 10
  1

On Julia v1.7.0

julia> circshift!(collect(1:10), 1)
ERROR: ^[[AMethodError: no method matching circshift!(::Vector{Int64}, ::Int64)
Closest candidates are:
  circshift!(::AbstractArray, ::Any, ::Tuple{}) at /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/base/multidimensional.jl:1104
  circshift!(::AbstractArray{T, N}, ::Any, ::Tuple{Vararg{Integer, N}} where N) where {T, N} at /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/base/multidimensional.jl:1116
  circshift!(::AbstractArray, ::Any, ::Any) at /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/base/multidimensional.jl:1124
  ...
Stacktrace:
 [1] top-level scope
   @ REPL[1]:1

Perhaps the documentation should note something about the change?

@fredrikekre
Copy link
Member

Added in #42678

@rfourquet rfourquet added the docs This change adds or pertains to documentation label Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation
Projects
None yet
Development

No branches or pull requests

3 participants