You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a = randn(3,4)
x = sub(a, 1:size(a,1), 4)
x[1:3] = 1.
a
this not
a = randn(3,4,5)
x = sub(a, 1:size(a,1), 1:size(a,2), 5)
x[1:3, 1:4] = 1.
ERROR: BoundsError()
in translate_indexes at subarray.jl:205
in setindex! at subarray.jl:304
The text was updated successfully, but these errors were encountered:
This works as expected
this not
The text was updated successfully, but these errors were encountered: