Skip to content

Commit 66ef6c5

Browse files
committed
chore: 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: 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 4e71757 commit 66ef6c5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/node_modules/@stdlib/blas/base/icamax/benchmark/benchmark.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
var bench = require( '@stdlib/bench' );
2424
var uniform = require( '@stdlib/random/array/uniform' );
25-
var isnan = require( '@stdlib/math/base/assert/is-nan' );
25+
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
2626
var pow = require( '@stdlib/math/base/special/pow' );
2727
var Complex64Array = require( '@stdlib/array/complex64' );
2828
var pkg = require( './../package.json' ).name;
@@ -63,12 +63,12 @@ function createBenchmark( len ) {
6363
b.tic();
6464
for ( i = 0; i < b.iterations; i++ ) {
6565
y = icamax( x.length, x, 1 );
66-
if ( isnan( y ) ) {
66+
if ( isnanf( y ) ) {
6767
b.fail( 'should not return NaN' );
6868
}
6969
}
7070
b.toc();
71-
if ( isnan( y ) ) {
71+
if ( isnanf( y ) ) {
7272
b.fail( 'should not return NaN' );
7373
}
7474
b.pass( 'benchmark finished' );

lib/node_modules/@stdlib/blas/base/icamax/benchmark/benchmark.ndarray.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
var bench = require( '@stdlib/bench' );
2424
var uniform = require( '@stdlib/random/array/uniform' );
25-
var isnan = require( '@stdlib/math/base/assert/is-nan' );
25+
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
2626
var pow = require( '@stdlib/math/base/special/pow' );
2727
var Complex64Array = require( '@stdlib/array/complex64' );
2828
var pkg = require( './../package.json' ).name;
@@ -63,12 +63,12 @@ function createBenchmark( len ) {
6363
b.tic();
6464
for ( i = 0; i < b.iterations; i++ ) {
6565
y = icamax( x.length, x, 1, 0 );
66-
if ( isnan( y ) ) {
66+
if ( isnanf( y ) ) {
6767
b.fail( 'should not return NaN' );
6868
}
6969
}
7070
b.toc();
71-
if ( isnan( y ) ) {
71+
if ( isnanf( y ) ) {
7272
b.fail( 'should not return NaN' );
7373
}
7474
b.pass( 'benchmark finished' );

0 commit comments

Comments
 (0)