Skip to content

Commit 7d49a1e

Browse files
committed
Fix check
1 parent c506c4f commit 7d49a1e

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/ndarray/dtypes/benchmark

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/ndarray/dtypes/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ bench( pkg, function benchmark( b ) {
3535
b.tic();
3636
for ( i = 0; i < b.iterations; i++ ) {
3737
out = dtypes();
38-
if ( out.length > 0 ) {
38+
if ( out.length === 0 ) {
3939
b.fail( 'should return a non-empty array' );
4040
}
4141
}

0 commit comments

Comments
 (0)