Skip to content

Commit 718d430

Browse files
gururaj1512kgryte
andauthored
Update lib/node_modules/@stdlib/math/base/special/round/benchmark/benchmark.native.js
Co-authored-by: Athan <[email protected]> Signed-off-by: Gururaj Gurram <[email protected]>
1 parent 8b6f475 commit 718d430

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/node_modules/@stdlib/math/base/special/round/benchmark/benchmark.native.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ bench( pkg+'::native', opts, function benchmark( b ) {
4747

4848
b.tic();
4949
for ( i = 0; i < b.iterations; i++ ) {
50-
x = ( randu()*1000.0 ) - 500.0;
5150
y = round( x[ i % x.length ] );
5251
if ( isnan( y ) ) {
5352
b.fail( 'should not return NaN' );

0 commit comments

Comments
 (0)