Skip to content
Draft
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/random/iter/frechet/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
// MAIN //

/**
* Returns an iterator for generating pseudorandom numbers drawn from a Fr茅chet distribution.

Check warning on line 44 in lib/node_modules/@stdlib/random/iter/frechet/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "茅chet"
*
* @param {PositiveNumber} alpha - shape parameter
* @param {PositiveNumber} s - rate parameter
Expand Down Expand Up @@ -87,7 +87,7 @@
throw new TypeError( format( 'invalid argument. Second argument must be a positive number. Value: `%s`.', s ) );
}
if ( !isNumber( m ) || isnan( m ) ) {
throw new TypeError( format( 'invalid argument. Third argument must be a number. Value: `%s`.', m ) );
throw new TypeError( format( 'invalid argument. Third argument must be a number and not NaN. Value: `%s`.', m ) );
}
if ( arguments.length > 3 ) {
if ( !isObject( options ) ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function iterator( r, p, options ) {
var FLG;
var i;
if ( !isPositiveNumber( r ) ) {
throw new TypeError( format( 'invalid argument. First argument must be a positive integer. Value: `%s`.', r ) );
throw new TypeError( format( 'invalid argument. First argument must be a positive number. Value: `%s`.', r ) );
}
if ( !isProbability( p ) ) {
throw new TypeError( format( 'invalid argument. Second argument must be a probability. Value: `%s`.', p ) );
Expand Down
Loading