Skip to content

Commit b6dd0e2

Browse files
committed
chore: add newline and use uniform
--- 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: na - 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: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: passed - 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 5a97a85 commit b6dd0e2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/node_modules/@stdlib/stats/base/dists/rayleigh/skewness/benchmark/benchmark.native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
var resolve = require( 'path' ).resolve;
2424
var bench = require( '@stdlib/bench' );
2525
var Float64Array = require( '@stdlib/array/float64' );
26-
var randu = require( '@stdlib/random/base/randu' );
26+
var uniform = require( '@stdlib/random/base/uniform' );
2727
var EPS = require( '@stdlib/constants/float64/eps' );
2828
var isnan = require( '@stdlib/math/base/assert/is-nan' );
2929
var tryRequire = require( '@stdlib/utils/try-require' );
@@ -49,7 +49,7 @@ bench( pkg+'::native', opts, function benchmark( b ) {
4949
len = 100;
5050
sigma = new Float64Array( len );
5151
for ( i = 0; i < len; i++ ) {
52-
sigma[ i ] = ( randu()*20.0 ) + EPS;
52+
sigma[ i ] = uniform( EPS, 20.0 );
5353
}
5454

5555
b.tic();

lib/node_modules/@stdlib/stats/base/dists/rayleigh/skewness/src/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
#include "stdlib/stats/base/dists/rayleigh/skewness.h"
2020
#include "stdlib/math/base/assert/is_nan.h"
21+
2122
const double SKEWNESS_CONSTANT = 0.6311106578189364;
2223

2324
/**

0 commit comments

Comments
 (0)