Skip to content

Commit 97ba3cf

Browse files
committed
Auto-generated commit
1 parent 4863ef7 commit 97ba3cf

33 files changed

Lines changed: 628 additions & 604 deletions

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -956,6 +956,8 @@ A total of 49 issues were closed in this release:
956956

957957
<details>
958958

959+
- [`adb3e6a`](https://github.com/stdlib-js/stdlib/commit/adb3e6a9b5487a06a6f3c18e8d37650443248804) - **test:** use accessor functions _(by Athan Reines)_
960+
- [`d400b65`](https://github.com/stdlib-js/stdlib/commit/d400b65944bf4a27168d1f71ca4726d696d7fc9f) - **bench:** fix missing arguments _(by Athan Reines)_
959961
- [`8e2d42f`](https://github.com/stdlib-js/stdlib/commit/8e2d42fca06a86fef300cd3b1ef6ae8a6830514c) - **bench:** fix missing arguments _(by Athan Reines)_
960962
- [`1e7acc6`](https://github.com/stdlib-js/stdlib/commit/1e7acc6e50e0cf193de415fcb4d864755757aa99) - **test:** use accessor functions _(by Athan Reines)_
961963
- [`9451399`](https://github.com/stdlib-js/stdlib/commit/9451399044acb8234933b4a35723347e45def52a) - **bench:** refactor to use string interpolation in `ndarray/base` [(#11432)](https://github.com/stdlib-js/stdlib/pull/11432) _(by Karan Anand)_

base/unary/benchmark/benchmark.10d_columnmajor.js

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

9191
b.tic();
9292
for ( i = 0; i < b.iterations; i++ ) {
93-
unary( x, y, identity );
93+
unary( x, y, order === 'row-major', identity );
9494
if ( isnan( y.data[ i%len ] ) ) {
9595
b.fail( 'should not return NaN' );
9696
}

base/unary/benchmark/benchmark.10d_rowmajor.js

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

9191
b.tic();
9292
for ( i = 0; i < b.iterations; i++ ) {
93-
unary( x, y, identity );
93+
unary( x, y, order === 'row-major', identity );
9494
if ( isnan( y.data[ i%len ] ) ) {
9595
b.fail( 'should not return NaN' );
9696
}

base/unary/benchmark/benchmark.2d_columnmajor.js

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

9292
b.tic();
9393
for ( i = 0; i < b.iterations; i++ ) {
94-
unary( x, y, identity );
94+
unary( x, y, order === 'row-major', identity );
9595
if ( isnan( y.data[ i%len ] ) ) {
9696
b.fail( 'should not return NaN' );
9797
}

base/unary/benchmark/benchmark.2d_rowmajor.js

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

9292
b.tic();
9393
for ( i = 0; i < b.iterations; i++ ) {
94-
unary( x, y, identity );
94+
unary( x, y, order === 'row-major', identity );
9595
if ( isnan( y.data[ i%len ] ) ) {
9696
b.fail( 'should not return NaN' );
9797
}

base/unary/benchmark/benchmark.2d_rowmajor_accessors.js

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

120120
b.tic();
121121
for ( i = 0; i < b.iterations; i++ ) {
122-
unary( x, y, identity );
122+
unary( x, y, order === 'row-major', identity );
123123
if ( isnan( y.data[ i%len ] ) ) {
124124
b.fail( 'should not return NaN' );
125125
}

base/unary/benchmark/benchmark.2d_rowmajor_accessors_complex.js

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

127127
b.tic();
128128
for ( i = 0; i < b.iterations; i++ ) {
129-
unary( x, y, identity );
129+
unary( x, y, order === 'row-major', identity );
130130
if ( isnan( ybuf[ i%len ] ) ) {
131131
b.fail( 'should not return NaN' );
132132
}

base/unary/benchmark/benchmark.3d_columnmajor.js

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

9292
b.tic();
9393
for ( i = 0; i < b.iterations; i++ ) {
94-
unary( x, y, identity );
94+
unary( x, y, order === 'row-major', identity );
9595
if ( isnan( y.data[ i%len ] ) ) {
9696
b.fail( 'should not return NaN' );
9797
}

base/unary/benchmark/benchmark.3d_rowmajor.js

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

9292
b.tic();
9393
for ( i = 0; i < b.iterations; i++ ) {
94-
unary( x, y, identity );
94+
unary( x, y, order === 'row-major', identity );
9595
if ( isnan( y.data[ i%len ] ) ) {
9696
b.fail( 'should not return NaN' );
9797
}

base/unary/benchmark/benchmark.4d_columnmajor.js

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

9191
b.tic();
9292
for ( i = 0; i < b.iterations; i++ ) {
93-
unary( x, y, identity );
93+
unary( x, y, order === 'row-major', identity );
9494
if ( isnan( y.data[ i%len ] ) ) {
9595
b.fail( 'should not return NaN' );
9696
}

0 commit comments

Comments
 (0)