Skip to content

Commit 6e5b37f

Browse files
committed
Increment enumerated values
This change better supports using boolean ops to distinguish orders.
1 parent 0b34cb6 commit 6e5b37f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/node_modules/@stdlib/ndarray/orders/include/stdlib/ndarray_orders.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
*/
2525
enum STDLIB_NDARRAY_ORDER {
2626
// Row-major (C-style):
27-
STDLIB_NDARRAY_ROW_MAJOR = 0,
27+
STDLIB_NDARRAY_ROW_MAJOR = 1,
2828

2929
// Column-major (Fortran-style):
30-
STDLIB_NDARRAY_COLUMN_MAJOR = 1
30+
STDLIB_NDARRAY_COLUMN_MAJOR = 2
3131
};
3232

3333
#endif // !STDLIB_NDARRAY_ORDERS_H

0 commit comments

Comments
 (0)