Skip to content

Commit 48e8254

Browse files
committed
bench: fix array creation
--- 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 c5a007c commit 48e8254

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

lib/node_modules/@stdlib/lapack/base/iladlr/benchmark/benchmark.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ var LAYOUTS = [
4848
* @returns {Function} benchmark function
4949
*/
5050
function createBenchmark( order, N ) {
51-
var A = zeros( N*N, {
52-
'dtype': 'float64'
53-
});
51+
var A = zeros( N*N, 'float64' );
5452
return benchmark;
5553

5654
/**

lib/node_modules/@stdlib/lapack/base/iladlr/benchmark/benchmark.ndarray.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ var LAYOUTS = [
4949
* @returns {Function} benchmark function
5050
*/
5151
function createBenchmark( order, N ) {
52-
var A = zeros( N*N, {
53-
'dtype': 'float64'
54-
});
52+
var A = zeros( N*N, 'float64' );
5553
return benchmark;
5654

5755
/**

0 commit comments

Comments
 (0)