Skip to content

Commit 826071a

Browse files
committed
bench: fix missing arguments
--- 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 b1b1a64 commit 826071a

20 files changed

+20
-20
lines changed

lib/node_modules/@stdlib/ndarray/base/assign/benchmark/benchmark.10d_columnmajor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function createBenchmark( len, shape, xtype, ytype ) {
8585

8686
b.tic();
8787
for ( i = 0; i < b.iterations; i++ ) {
88-
assign( x, y );
88+
assign( x, y, order === 'row-major' );
8989
if ( isnan( y.data[ i%len ] ) ) {
9090
b.fail( 'should not return NaN' );
9191
}

lib/node_modules/@stdlib/ndarray/base/assign/benchmark/benchmark.10d_rowmajor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function createBenchmark( len, shape, xtype, ytype ) {
8585

8686
b.tic();
8787
for ( i = 0; i < b.iterations; i++ ) {
88-
assign( x, y );
88+
assign( x, y, order === 'row-major' );
8989
if ( isnan( y.data[ i%len ] ) ) {
9090
b.fail( 'should not return NaN' );
9191
}

lib/node_modules/@stdlib/ndarray/base/assign/benchmark/benchmark.2d_columnmajor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function createBenchmark( len, shape, xtype, ytype ) {
8686

8787
b.tic();
8888
for ( i = 0; i < b.iterations; i++ ) {
89-
assign( x, y );
89+
assign( x, y, order === 'row-major' );
9090
if ( isnan( y.data[ i%len ] ) ) {
9191
b.fail( 'should not return NaN' );
9292
}

lib/node_modules/@stdlib/ndarray/base/assign/benchmark/benchmark.2d_rowmajor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function createBenchmark( len, shape, xtype, ytype ) {
8686

8787
b.tic();
8888
for ( i = 0; i < b.iterations; i++ ) {
89-
assign( x, y );
89+
assign( x, y, order === 'row-major' );
9090
if ( isnan( y.data[ i%len ] ) ) {
9191
b.fail( 'should not return NaN' );
9292
}

lib/node_modules/@stdlib/ndarray/base/assign/benchmark/benchmark.2d_rowmajor_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function createBenchmark( len, shape, xtype, ytype ) {
114114

115115
b.tic();
116116
for ( i = 0; i < b.iterations; i++ ) {
117-
assign( x, y );
117+
assign( x, y, order === 'row-major' );
118118
if ( isnan( y.data[ i%len ] ) ) {
119119
b.fail( 'should not return NaN' );
120120
}

lib/node_modules/@stdlib/ndarray/base/assign/benchmark/benchmark.2d_rowmajor_accessors_complex.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function createBenchmark( len, shape, xtype, ytype ) {
121121

122122
b.tic();
123123
for ( i = 0; i < b.iterations; i++ ) {
124-
assign( x, y );
124+
assign( x, y, order === 'row-major' );
125125
if ( isnan( ybuf[ i%len ] ) ) {
126126
b.fail( 'should not return NaN' );
127127
}

lib/node_modules/@stdlib/ndarray/base/assign/benchmark/benchmark.3d_columnmajor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function createBenchmark( len, shape, xtype, ytype ) {
8686

8787
b.tic();
8888
for ( i = 0; i < b.iterations; i++ ) {
89-
assign( x, y );
89+
assign( x, y, order === 'row-major' );
9090
if ( isnan( y.data[ i%len ] ) ) {
9191
b.fail( 'should not return NaN' );
9292
}

lib/node_modules/@stdlib/ndarray/base/assign/benchmark/benchmark.3d_rowmajor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function createBenchmark( len, shape, xtype, ytype ) {
8686

8787
b.tic();
8888
for ( i = 0; i < b.iterations; i++ ) {
89-
assign( x, y );
89+
assign( x, y, order === 'row-major' );
9090
if ( isnan( y.data[ i%len ] ) ) {
9191
b.fail( 'should not return NaN' );
9292
}

lib/node_modules/@stdlib/ndarray/base/assign/benchmark/benchmark.4d_columnmajor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function createBenchmark( len, shape, xtype, ytype ) {
8585

8686
b.tic();
8787
for ( i = 0; i < b.iterations; i++ ) {
88-
assign( x, y );
88+
assign( x, y, order === 'row-major' );
8989
if ( isnan( y.data[ i%len ] ) ) {
9090
b.fail( 'should not return NaN' );
9191
}

lib/node_modules/@stdlib/ndarray/base/assign/benchmark/benchmark.4d_rowmajor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function createBenchmark( len, shape, xtype, ytype ) {
8585

8686
b.tic();
8787
for ( i = 0; i < b.iterations; i++ ) {
88-
assign( x, y );
88+
assign( x, y, order === 'row-major' );
8989
if ( isnan( y.data[ i%len ] ) ) {
9090
b.fail( 'should not return NaN' );
9191
}

0 commit comments

Comments
 (0)