Skip to content

Commit 5865962

Browse files
authored
fix: update error message
Signed-off-by: Athan <[email protected]>
1 parent f2bc030 commit 5865962

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/blas/ext/last-index-of/lib

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/blas/ext/last-index-of/lib/assign.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function assign( x, searchElement, fromIndex, out ) {
112112

113113
nargs = arguments.length;
114114
if ( !isndarrayLike( x ) ) {
115-
throw new TypeError( format( 'invalid argument. The first argument must be an ndarray. Value: `%s`.', x ) );
115+
throw new TypeError( format( 'invalid argument. First argument must be an ndarray. Value: `%s`.', x ) );
116116
}
117117
if ( nargs < 2 ) {
118118
throw new TypeError( format( 'invalid argument. Second argument must be either an ndarray or a scalar value. Value: `%s`.', searchElement ) );

0 commit comments

Comments
 (0)