Skip to content

Commit ed406d4

Browse files
committed
Fix example code
1 parent 870f836 commit ed406d4

File tree

2 files changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/random/streams

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/random/streams/bernoulli/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ function destroy( error ) {
217217
* 'iter': 10
218218
* };
219219
*
220-
* var stream = new RandomStream( 2.0, opts );
220+
* var stream = new RandomStream( 0.5, opts );
221221
*
222222
* stream.pipe( inspectStream( log ) );
223223
*/

lib/node_modules/@stdlib/random/streams/geometric/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ function destroy( error ) {
217217
* 'iter': 10
218218
* };
219219
*
220-
* var stream = new RandomStream( 2.0, opts );
220+
* var stream = new RandomStream( 0.5, opts );
221221
*
222222
* stream.pipe( inspectStream( log ) );
223223
*/

0 commit comments

Comments
 (0)