From 413972224fd3d81714281d895a3ca723f9aa90f0 Mon Sep 17 00:00:00 2001 From: Kenshi Takayama Date: Sun, 18 Feb 2024 18:45:36 +0900 Subject: [PATCH] [Doc] Update offset.md (#8470) Fixed the highest indices that were off by one. Issue: # ### Brief Summary copilot:summary ### Walkthrough copilot:walkthrough --- 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