Skip to content

Commit ca9cb28

Browse files
committed
docs: ensure notes use consistent grammar
1 parent dd80dd0 commit ca9cb28

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/node_modules/@stdlib/ndarray/base/ind2sub/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import { Mode, Order } from '@stdlib/types/ndarray';
3030
*
3131
* - The function accepts the following "modes":
3232
*
33-
* - **throw**: throws an error when a linear index exceeds array dimensions.
33+
* - **throw**: throw an error when a linear index exceeds array dimensions.
3434
* - **normalize**: normalize negative indices and throw an error when a linear index exceeds array dimensions.
3535
* - **wrap**: wrap around a linear index exceeding array dimensions using modulo arithmetic.
3636
* - **clamp**: set a linear index exceeding array dimensions to either `0` (minimum linear index) or the maximum linear index.

lib/node_modules/@stdlib/ndarray/base/ind2sub/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var getSubscripts = require( './assign.js' );
3333
*
3434
* - The function accepts the following "modes":
3535
*
36-
* - **throw**: throws an error when a linear index exceeds array dimensions.
36+
* - **throw**: throw an error when a linear index exceeds array dimensions.
3737
* - **normalize**: normalize negative indices and throw an error when a linear index exceeds array dimensions.
3838
* - **wrap**: wrap around a linear index exceeding array dimensions using modulo arithmetic.
3939
* - **clamp**: set a linear index exceeding array dimensions to either `0` (minimum linear index) or the maximum linear index.

0 commit comments

Comments
 (0)