Skip to content

Commit 1e96333

Browse files
committed
Limit scaling growth
1 parent 117438b commit 1e96333

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function createBenchmark( len ) {
5454

5555
b.tic();
5656
for ( i = 0; i < b.iterations; i++ ) {
57-
y = dscal( x.length, 5.0, x, 1 );
57+
y = dscal( x.length, 1.01, x, 1 );
5858
if ( isnan( y ) ) {
5959
b.fail( 'should not return NaN' );
6060
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function createBenchmark( len ) {
6363

6464
b.tic();
6565
for ( i = 0; i < b.iterations; i++ ) {
66-
y = dscal( x.length, 5.0, x, 1 );
66+
y = dscal( x.length, 1.01, x, 1 );
6767
if ( isnan( y ) ) {
6868
b.fail( 'should not return NaN' );
6969
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function createBenchmark( len ) {
5454

5555
b.tic();
5656
for ( i = 0; i < b.iterations; i++ ) {
57-
y = dscal( x.length, 5.0, x, 1, 0 );
57+
y = dscal( x.length, 1.01, x, 1, 0 );
5858
if ( isnan( y ) ) {
5959
b.fail( 'should not return NaN' );
6060
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function createBenchmark( len ) {
6363

6464
b.tic();
6565
for ( i = 0; i < b.iterations; i++ ) {
66-
y = dscal( x.length, 5.0, x, 1, 0 );
66+
y = dscal( x.length, 1.01, x, 1, 0 );
6767
if ( isnan( y ) ) {
6868
b.fail( 'should not return NaN' );
6969
}

0 commit comments

Comments
 (0)