[BUG] Elementwise value assignment silently fails after in-place array downsize using rows()
#3534
Open
2 tasks done
Labels
In some scenarios, it seems that, after downsizing an array using an in-place call to
rows()
(ie, overwrite an array with only subset of its current rows), elementwise value assignment silently fails (ie, the element's value does not change and there are no compile or runtime errors).Description
Drows(0,0)
to have value1234
). Given that that fails, expected a compile or runtime error.Reproducible Code and/or Steps
Program/output (note the
(0,0)
element of the last print):Interestingly, initializing the array as a copy of an existing array yields the expected behavior:
EDIT: Additionally, here is the full debugging output for this case that succeeds (I note an additional
[mem]
line before the finalaf_print
):System Information
Please provide the following information:
Linux output:
Checklist
The text was updated successfully, but these errors were encountered: