Skip to content

Commit 8403e54

Browse files
committed
fix: lint errors
--- 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 dfed18e commit 8403e54

File tree

1 file changed

+4
-3
lines changed
  • lib/node_modules/@stdlib/math/base/special/negafibonaccif/benchmark

1 file changed

+4
-3
lines changed

lib/node_modules/@stdlib/math/base/special/negafibonaccif/benchmark/benchmark.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ var sqrtf = require( '@stdlib/math/base/special/sqrtf' );
2727
var pow = require( '@stdlib/math/base/special/pow' );
2828
var absf = require( '@stdlib/math/base/special/absf' );
2929
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
30+
var Float32Array = require( '@stdlib/array/float32' );
3031
var PHI = require( '@stdlib/constants/float32/phi' );
3132
var pkg = require( './../package.json' ).name;
3233
var NEGAFIBONACCIF = require( './../lib/negafibonaccif.json' );
@@ -150,7 +151,7 @@ bench( pkg+'::recursion_memoized', function benchmark( b ) {
150151
var y;
151152
var i;
152153

153-
arr = new Array( 37 );
154+
arr = new Float32Array( 37 );
154155
arr[ 0 ] = 0;
155156
arr[ 1 ] = 1;
156157
arr[ 2 ] = -1;
@@ -194,7 +195,7 @@ bench( pkg+'::naive_iterative', function benchmark( b ) {
194195

195196
an = absf( n );
196197

197-
arr = new Array( an+1 );
198+
arr = new Float32Array( an+1 );
198199
arr[ 0 ] = 0;
199200
arr[ 1 ] = 1;
200201
arr[ 2 ] = -1;
@@ -269,7 +270,7 @@ bench( pkg+'::iterative_memoized', function benchmark( b ) {
269270
var y;
270271
var i;
271272

272-
arr = new Array( 37 );
273+
arr = new Float32Array( 37 );
273274
arr[ 0 ] = 0;
274275
arr[ 1 ] = 1;
275276
arr[ 2 ] = -1;

0 commit comments

Comments
 (0)