Skip to content

Commit ac0412b

Browse files
kgrytesaurabhraghuvanshii
authored andcommitted
docs: increase success probability in examples
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 95a5975 commit ac0412b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/stats/base/dnanmax/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ var bernoulli = require( '@stdlib/random/base/bernoulli' );
135135
var dnanmax = require( '@stdlib/stats/base/dnanmax' );
136136

137137
function rand() {
138-
if ( bernoulli( 0.2 ) < 1 ) {
138+
if ( bernoulli( 0.8 ) < 1 ) {
139139
return NaN;
140140
}
141141
return uniform( -50.0, 50.0 );

lib/node_modules/@stdlib/stats/base/dnanmax/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var bernoulli = require( '@stdlib/random/base/bernoulli' );
2424
var dnanmax = require( './../lib' );
2525

2626
function rand() {
27-
if ( bernoulli( 0.2 ) < 1 ) {
27+
if ( bernoulli( 0.8 ) < 1 ) {
2828
return NaN;
2929
}
3030
return uniform( -50.0, 50.0 );

0 commit comments

Comments
 (0)