Skip to content

Conversation

@rfourquet
Copy link
Member

Currently:

julia> y = rand(2, 3); circshift(y, (1.0,))
2×3 Matrix{Float64}:
 0.224088  0.726063  0.704152
 0.545146  0.442787  0.417946

julia> x = similar(y); circshift!(x, y, (1.0,))
ERROR: StackOverflowError:

An alternative fix would be to disallow non-Integer, but would be (minorly?) breaking.

@rfourquet rfourquet added arrays [a, r, r, a, y, s] bugfix This change fixes an existing bug labels Jul 20, 2020
@JeffBezanson JeffBezanson merged commit 773ef66 into master Jul 23, 2020
@JeffBezanson JeffBezanson deleted the rf/circshift-nonint branch July 23, 2020 23:15
rfourquet added a commit that referenced this pull request Jul 24, 2020
JeffBezanson pushed a commit that referenced this pull request Jul 25, 2020
@KristofferC KristofferC mentioned this pull request Aug 3, 2020
25 tasks
simeonschaub pushed a commit to simeonschaub/julia that referenced this pull request Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrays [a, r, r, a, y, s] bugfix This change fixes an existing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants