From bd812bdf733407c8fbba20f683eb6bfab7ef133d Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Wed, 13 Jul 2016 10:40:29 -0500 Subject: [PATCH] devdocs: add missing Bool argument for bounds checking [ci skip] --- doc/devdocs/boundscheck.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/devdocs/boundscheck.rst b/doc/devdocs/boundscheck.rst index 1d324e9aa546b..6a85da5c0225e 100644 --- a/doc/devdocs/boundscheck.rst +++ b/doc/devdocs/boundscheck.rst @@ -67,8 +67,8 @@ The overall hierarchy is: | ``checkbounds(A, I...)`` which calls | ``checkbounds(Bool, A, I...)`` which calls either of: -| ``checkbounds_logical(A, I)`` when ``I`` is a single logical array -| ``checkbounds_indices(indices(A), I)`` otherwise +| ``checkbounds_logical(Bool, A, I)`` when ``I`` is a single logical array +| ``checkbounds_indices(Bool, indices(A), I)`` otherwise | Here ``A`` is the array, and ``I`` contains the "requested" indices. @@ -85,8 +85,8 @@ dimensions handled by calling another important function, ``checkindex``: typically, :: - checkbounds_indices((IA1, IA...), (I1, I...)) = checkindex(Bool, IA1, I1) & - checkbounds_indices(IA, I) + checkbounds_indices(Bool, (IA1, IA...), (I1, I...)) = checkindex(Bool, IA1, I1) & + checkbounds_indices(Bool, IA, I) so ``checkindex`` checks a single dimension. All of these functions, including the unexported ``checkbounds_indices`` and