Skip to content

Commit c506c4f

Browse files
committed
Loosen restriction to allow dtype growth
1 parent fc6bf19 commit c506c4f

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ bench( pkg, function benchmark( b ) {
3535
b.tic();
3636
for ( i = 0; i < b.iterations; i++ ) {
3737
out = dtypes();
38-
if ( out.length !== 11 ) {
39-
b.fail( 'should return an array of length 11' );
38+
if ( out.length > 0 ) {
39+
b.fail( 'should return a non-empty array' );
4040
}
4141
}
4242
b.toc();

0 commit comments

Comments
 (0)