Skip to content

Commit

Permalink
chore: minor clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Oct 9, 2024
1 parent 50fcb04 commit 1a6bfac
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/iter/cuevery-by/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ var randu = require( '@stdlib/random/iter/randu' );
var iterCuEveryBy = require( '@stdlib/iter/cuevery-by' );

function threshold( r ) {
return ( r > 0.95 );
return ( r > 0.05 );
}

// Create an iterator which generates uniformly distributed pseudorandom numbers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var iterCuEveryBy = require( './../lib' );
* @returns {boolean} result
*/
function predicate( value ) {
return ( value < 0 );
return ( value > 0 );
}


Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/iter/cuevery-by/docs/repl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@

iterator.next(): Function
Returns an iterator protocol-compliant object containing the next
iterated value (if one exists) and a boolean flag indicating
whether the iterator is finished.
iterated value (if one exists) and a boolean flag indicating whether the
iterator is finished.

iterator.return( [value] ): Function
Finishes an iterator and returns a provided value.
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/iter/cuevery-by/examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var randu = require( '@stdlib/random/iter/randu' );
var iterCuEveryBy = require( './../lib' );

function threshold( r ) {
return ( r > 0.95 );
return ( r > 0.05 );
}

// Create an iterator which generates uniformly distributed pseudorandom numbers:
Expand Down

0 comments on commit 1a6bfac

Please sign in to comment.