From 91ca89acf16f579677eae1fcc2ee02e15ac7cc35 Mon Sep 17 00:00:00 2001 From: aaamini Date: Wed, 4 May 2016 12:44:37 -0700 Subject: [PATCH] Update arrays.rst --- doc/manual/arrays.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/manual/arrays.rst b/doc/manual/arrays.rst index 8cae33f78f30e..974636fa86557 100644 --- a/doc/manual/arrays.rst +++ b/doc/manual/arrays.rst @@ -363,8 +363,8 @@ where each ``I_k`` may be: If ``X`` is an array, it must have the same number of elements as the product of the lengths of the indices: ``prod(length(I_1), length(I_2), ..., length(I_n))``. The value in location -``i_1, i_2, ..., i_n`` of ``A`` is overwritten with the value -``X[I_1[i_1], I_2[i_2], ..., I_n[i_n]]``. If ``X`` is not an array, its value +``I_1[i_1], I_2[i_2], ..., I_n[i_n]`` of ``A`` is overwritten with the value +``X[i_1, i_2, ..., i_n]``. If ``X`` is not an array, its value is written to all referenced locations of ``A``. A boolean array used as an index behaves as in :func:`getindex`, behaving as