Skip to content

Commit 6273e80

Browse files
committed
more index order
1 parent 811875b commit 6273e80

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/protocol/core/v3.0.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,8 +1386,8 @@ Let `P` be an arbitrary hierarchy path.
13861386
Let ``array_meta_key(P)`` be the array metadata key for `P`. Let
13871387
``group_meta_key(P)`` be the group metadata key for `P`.
13881388

1389-
Let ``data_key(P, i, j, ...)`` be the data key for `P` for the chunk
1390-
with grid coordinates (`i`, `j`, ...).
1389+
Let ``data_key(P, j, i ...)`` be the data key for `P` for the chunk
1390+
with grid coordinates (`j`, `i`, ...).
13911391

13921392
Let "+" be the string concatenation operator.
13931393

@@ -1421,16 +1421,16 @@ Let "+" be the string concatenation operator.
14211421

14221422
**Store element values in an array**
14231423

1424-
To store element in an array at path `P` and coordinate (`i`, `j`,
1425-
...), perform ``set(data_key(P, i, j, ...), value)``, where
1424+
To store element in an array at path `P` and coordinate (`j`, `i`,
1425+
...), perform ``set(data_key(P, j, i, ...), value)``, where
14261426
`value` is the serialisation of the corresponding chunk, encoded
14271427
according to the information in the array metadata stored under
14281428
the key ``array_meta_key(P)``.
14291429

14301430
**Retrieve element values in an array**
14311431

14321432
To retrieve element in an array at path `P` and coordinate (`i`,
1433-
`j`, ...), perform ``get(data_key(P, i, j, ...), value)``. The returned
1433+
`j`, ...), perform ``get(data_key(P, j, i, ...), value)``. The returned
14341434
value is the serialisation of the corresponding chunk, encoded
14351435
according to the array metadata stored at ``array_meta_key(P)``.
14361436

0 commit comments

Comments
 (0)