Skip to content

Commit 5795825

Browse files
committed
Add comment
1 parent 9770431 commit 5795825

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/ndarray/base/ind2sub/src

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/ndarray/base/ind2sub/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ int8_t stdlib_ndarray_ind2sub( int64_t *out, int64_t ndims, int64_t *shape, int6
8989
idx %= len;
9090
}
9191
}
92-
} else if ( idx < 0 || idx >= len ) {
92+
} else if ( idx < 0 || idx >= len ) { // mode == 'error'
9393
return -1;
9494
}
9595
if ( offset == 0 ) {

0 commit comments

Comments
 (0)