Skip to content

Commit b6cf258

Browse files
committed
refactor: apply suggested change to dist.b condition
1 parent 0fff553 commit b6cf258

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/laplace/ctor/benchmark

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/stats/base/dists/laplace/ctor/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ bench( pkg+'::set:b', function benchmark( bm ) {
165165
bm.tic();
166166
for ( i = 0; i < bm.iterations; i++ ) {
167167
dist.b = y[ i % len ];
168-
if ( dist.b !== y ) {
168+
if ( dist.b !== y[ i % len ] ) {
169169
bm.fail( 'should return set value' );
170170
}
171171
}

0 commit comments

Comments
 (0)