Skip to content

Commit 685691c

Browse files
committed
chore: minor clean-up
--- 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: 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: 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 10cd4eb commit 685691c

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

lib/node_modules/@stdlib/stats/base/dists/levy/logcdf/benchmark/benchmark.native.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ var tryRequire = require( '@stdlib/utils/try-require' );
2626
var uniform = require( '@stdlib/random/array/uniform' );
2727
var isnan = require( '@stdlib/math/base/assert/is-nan' );
2828
var EPS = require( '@stdlib/constants/float64/eps' );
29+
var format = require( '@stdlib/string/format' );
2930
var pkg = require( './../package.json' ).name;
3031

3132

@@ -39,7 +40,7 @@ var opts = {
3940

4041
// MAIN //
4142

42-
bench( pkg, opts, function benchmark( b ) {
43+
bench( format( '%s::native', pkg ), opts, function benchmark( b ) {
4344
var scale;
4445
var opts;
4546
var mu;
@@ -52,7 +53,7 @@ bench( pkg, opts, function benchmark( b ) {
5253
};
5354
mu = uniform( 100, -50.0, 50.0, opts );
5455
x = uniform( 100, 50.0, 150.0, opts );
55-
scale = uniform( 100, EPS + 50.0, 150.0, opts );
56+
scale = uniform( 100, EPS, 20.0, opts );
5657

5758
b.tic();
5859
for ( i = 0; i < b.iterations; i++ ) {

lib/node_modules/@stdlib/stats/base/dists/levy/logpdf/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ bench( pkg, function benchmark( b ) {
4444
};
4545
mu = uniform( 100, -10.0, 10.0, opts );
4646
s = uniform( 100, EPS, 5.0, opts );
47-
x = uniform( 100, 10, 100.0, opts );
47+
x = uniform( 100, 10.0, 100.0, opts );
4848

4949
b.tic();
5050
for ( i = 0; i < b.iterations; i++ ) {

lib/node_modules/@stdlib/stats/base/ndarray/dnanstdevpn/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ The function has the following parameters:
133133

134134
- If provided an empty one-dimensional ndarray, the function returns `NaN`.
135135
- If `N - c` is less than or equal to `0` (where `N` corresponds to the number of non-NaN elements in the input ndarray and `c` corresponds to the provided degrees of freedom adjustment), the function returns `NaN`.
136+
- The function ignores `NaN` values when computing the standard deviation.
136137

137138
</section>
138139

0 commit comments

Comments
 (0)