Skip to content

Commit

Permalink
[Doc] Update offset.md (#8470)
Browse files Browse the repository at this point in the history
Fixed the highest indices that were off by one.

Issue: #

### Brief Summary

copilot:summary

### Walkthrough

copilot:walkthrough
  • Loading branch information
kenshi84 committed Feb 18, 2024
1 parent 70db014 commit 4139722
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/lang/articles/basic/offset.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4139722

Please sign in to comment.