Skip to content

Commit 72be82d

Browse files
committed
bench: fixed minor linting issues
--- 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: 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 465a7af commit 72be82d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/node_modules/@stdlib/stats/base/dists/lognormal/quantile/benchmark/benchmark.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ bench( pkg, function benchmark( b ) {
4848

4949
b.tic();
5050
for ( i = 0; i < b.iterations; i++ ) {
51+
// eslint-disable-next-line max-len
5152
y = quantile( p[ i % p.length ], mu[ i % mu.length ], sigma[ i % sigma.length ] );
5253
if ( isnan( y ) ) {
5354
b.fail( 'should not return NaN' );

lib/node_modules/@stdlib/stats/base/dists/lognormal/quantile/benchmark/benchmark.native.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var opts = {
4040

4141
// MAIN //
4242

43-
bench( format('%s::native', pkg), opts, function benchmark( b ) {
43+
bench( format( '%s::native', pkg ), opts, function benchmark( b ) {
4444
var sigma;
4545
var opts;
4646
var mu;
@@ -57,6 +57,7 @@ bench( format('%s::native', pkg), opts, function benchmark( b ) {
5757

5858
b.tic();
5959
for ( i = 0; i < b.iterations; i++ ) {
60+
// eslint-disable-next-line max-len
6061
y = quantile( p[ i % p.length ], mu[ i % mu.length ], sigma[ i % sigma.length ] );
6162
if ( isnan( y ) ) {
6263
b.fail( 'should not return NaN' );

0 commit comments

Comments
 (0)