We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c8768f commit 857e017Copy full SHA for 857e017
base/subarray.jl
@@ -173,7 +173,8 @@ Calling [`getindex`](@ref) or [`setindex!`](@ref) on the returned value
173
(often a [`SubArray`](@ref)) computes the indices to access or modify the
174
parent array on the fly. The behavior is undefined if the shape of the parent array is
175
changed after `view` is called because there is no bound check for the parent array; e.g.,
176
-it may cause a segmentation fault.
+it may cause a segmentation fault. It is likewise undefined behavior to modify the `inds`
177
+array(s) after construction of the view.
178
179
Some immutable parent arrays (like ranges) may choose to simply
180
recompute a new array in some circumstances instead of returning
0 commit comments