From ab7d1d31855fe513ad19088f80f8a9f86e0864af Mon Sep 17 00:00:00 2001 From: Kenshi Takayama Date: Fri, 2 Feb 2024 10:36:59 +0900 Subject: [PATCH] Update offset.md Fixed the highest indices that were off by one. --- docs/lang/articles/basic/offset.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/lang/articles/basic/offset.md b/docs/lang/articles/basic/offset.md index a5be48b92669a..e78b3b1e75398 100644 --- a/docs/lang/articles/basic/offset.md +++ b/docs/lang/articles/basic/offset.md @@ -19,9 +19,9 @@ In this way, the field's indices are from `(-16, 8)` to `(16, 72)` (exclusive). ```python cont a[-16, 8] # lower left corner -a[16, 8] # lower right corner -a[-16, 72] # upper left corner -a[16, 72] # upper right corner +a[15, 8] # lower right corner +a[-16, 71] # upper left corner +a[15, 71] # upper right corner ``` :::note