Skip to content

Commit b3f2acd

Browse files
[skip ci] Auto-format code with clang-format and black
1 parent 268364d commit b3f2acd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csrc/include/pmpp/utils/address.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ namespace pmpp
1919
* dimension.
2020
* @return std::uint32_t The offset of the multi-dimensional array.
2121
*
22-
* @example
22+
* @example
2323
* 1. To calculate the offset of idx (2, 1) in a 2D array of dim (4, 3):
2424
* > offset(2, 1, 4, 3) -> 1*1 + 2*3 = 7
25-
* 2. To calculate the offset of idx (1, 2, 3) in a 3D array of dim
25+
* 2. To calculate the offset of idx (1, 2, 3) in a 3D array of dim
2626
* (4, 5, 6):
2727
* > offset(1, 2, 3, 4, 5, 6) -> 3*1 + 2*6 + 1*6*5 = 45
2828
*/

0 commit comments

Comments
 (0)