Skip to content

Commit d307934

Browse files
committed
bench: fix overflow
1 parent bba0e36 commit d307934

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/blas/base/cscal/benchmark/benchmark.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function createBenchmark( len ) {
5454
xbuf = uniform( len*2, -100.0, 100.0, options );
5555
x = new Complex64Array( xbuf.buffer );
5656

57-
z = new Complex64( 1.0, 1.0 );
57+
z = new Complex64( 1.0, 0.0 );
5858

5959
return benchmark;
6060

lib/node_modules/@stdlib/blas/base/cscal/benchmark/benchmark.native.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function createBenchmark( len ) {
5959
xbuf = uniform( len*2, -100.0, 100.0, options );
6060
x = new Complex64Array( xbuf.buffer );
6161

62-
z = new Complex64( 1.0, 1.0 );
62+
z = new Complex64( 1.0, 0.0 );
6363

6464
return benchmark;
6565

lib/node_modules/@stdlib/blas/base/cscal/benchmark/benchmark.ndarray.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function createBenchmark( len ) {
5454
xbuf = uniform( len*2, -100.0, 100.0, options );
5555
x = new Complex64Array( xbuf.buffer );
5656

57-
z = new Complex64( 1.0, 1.0 );
57+
z = new Complex64( 1.0, 0.0 );
5858

5959
return benchmark;
6060

lib/node_modules/@stdlib/blas/base/cscal/benchmark/benchmark.ndarray.native.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function createBenchmark( len ) {
5959
xbuf = uniform( len*2, -100.0, 100.0, options );
6060
x = new Complex64Array( xbuf.buffer );
6161

62-
z = new Complex64( 1.0, 1.0 );
62+
z = new Complex64( 1.0, 0.0 );
6363

6464
return benchmark;
6565

0 commit comments

Comments
 (0)