Skip to content

Commit db705bb

Browse files
committed
bench: fix array lengths
--- 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 35a1a06 commit db705bb

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/blas/ext/base/zsumkbn/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ var options = {
4848
* @returns {Function} benchmark function
4949
*/
5050
function createBenchmark( len ) {
51-
var x = new Complex128Array( uniform( len, -100, 100, options ) );
51+
var x = new Complex128Array( uniform( len*2, -100, 100, options ) );
5252
return benchmark;
5353

5454
function benchmark( b ) {

lib/node_modules/@stdlib/blas/ext/base/zsumkbn/benchmark/benchmark.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ var options = {
5353
* @returns {Function} benchmark function
5454
*/
5555
function createBenchmark( len ) {
56-
var x = new Complex128Array( uniform( len, -100, 100, options ) );
56+
var x = new Complex128Array( uniform( len*2, -100, 100, options ) );
5757
return benchmark;
5858

5959
function benchmark( b ) {

lib/node_modules/@stdlib/blas/ext/base/zsumkbn/benchmark/benchmark.ndarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ var options = {
4848
* @returns {Function} benchmark function
4949
*/
5050
function createBenchmark( len ) {
51-
var x = new Complex128Array( uniform( len, -100, 100, options ) );
51+
var x = new Complex128Array( uniform( len*2, -100, 100, options ) );
5252
return benchmark;
5353

5454
function benchmark( b ) {

lib/node_modules/@stdlib/blas/ext/base/zsumkbn/benchmark/benchmark.ndarray.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ var options = {
5353
* @returns {Function} benchmark function
5454
*/
5555
function createBenchmark( len ) {
56-
var x = new Complex128Array( uniform( len, -100, 100, options ) );
56+
var x = new Complex128Array( uniform( len*2, -100, 100, options ) );
5757
return benchmark;
5858

5959
function benchmark( b ) {

0 commit comments

Comments
 (0)