Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/ndarray/count-if/lib/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function validate( opts, ndims, options ) {
return new Error( format( 'invalid option. `%s` option contains duplicate indices. Option: [%s].', 'dims', join( opts.dims, ',' ) ) );
}
if ( tmp.length > ndims ) {
return new RangeError( format( 'invalid option. `%s` option specifies more dimensions than exists in the input array. Number of dimensions: %d. Option: [%s].', ndims, join( opts.dims, ',' ) ) );
return new RangeError( format( 'invalid option. `%s` option specifies more dimensions than exists in the input array. Number of dimensions: %d. Option: [%s].', 'dims', ndims, join( opts.dims, ',' ) ) );
}
opts.dims = tmp;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/stats/binomial-test/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function binomialTest() {
throw new TypeError( format( 'invalid argument. Must provide a nonnegative integer. Value: `%s`.', n ) );
}
if ( x > n ) {
throw new TypeError( format( 'invalid arguments. Number of successes cannot be larger than the total number of observations. x: `%u`. n: `%u`.' ) );
throw new TypeError( format( 'invalid arguments. Number of successes cannot be larger than the total number of observations. x: `%u`. n: `%u`.', x, n ) );
}
if ( arguments[ 2 ] ) {
err = validate( opts, arguments[ 2 ] );
Expand Down