diff --git a/lib/node_modules/@stdlib/stats/strided/dmaxabssorted/benchmark/c/benchmark.length.c b/lib/node_modules/@stdlib/stats/strided/dmaxabssorted/benchmark/c/benchmark.length.c index 8f2ffc2f8bc5..7696618e6556 100644 --- a/lib/node_modules/@stdlib/stats/strided/dmaxabssorted/benchmark/c/benchmark.length.c +++ b/lib/node_modules/@stdlib/stats/strided/dmaxabssorted/benchmark/c/benchmark.length.c @@ -102,7 +102,7 @@ static double benchmark1( int iterations, int len ) { int i; for ( i = 0; i < len; i++ ) { - x[ i ] = i - (len/2); + x[ i ] = (double)( i - (len/2) ) + rand_double(); } v = 0.0; t = tic(); @@ -136,7 +136,7 @@ static double benchmark2( int iterations, int len ) { int i; for ( i = 0; i < len; i++ ) { - x[ i ] = i - (len/2); + x[ i ] = (double)( i - (len/2) ) + rand_double(); } v = 0.0; t = tic(); diff --git a/lib/node_modules/@stdlib/stats/strided/dmaxsorted/benchmark/c/benchmark.length.c b/lib/node_modules/@stdlib/stats/strided/dmaxsorted/benchmark/c/benchmark.length.c index abe1da5cf3fa..a7935bdad083 100644 --- a/lib/node_modules/@stdlib/stats/strided/dmaxsorted/benchmark/c/benchmark.length.c +++ b/lib/node_modules/@stdlib/stats/strided/dmaxsorted/benchmark/c/benchmark.length.c @@ -102,7 +102,7 @@ static double benchmark1( int iterations, int len ) { int i; for ( i = 0; i < len; i++ ) { - x[ i ] = i; + x[ i ] = (double)i + rand_double(); } v = 0.0; t = tic(); @@ -136,7 +136,7 @@ static double benchmark2( int iterations, int len ) { int i; for ( i = 0; i < len; i++ ) { - x[ i ] = i; + x[ i ] = (double)i + rand_double(); } v = 0.0; t = tic(); diff --git a/lib/node_modules/@stdlib/stats/strided/dmediansorted/benchmark/c/benchmark.length.c b/lib/node_modules/@stdlib/stats/strided/dmediansorted/benchmark/c/benchmark.length.c index 74779382392f..92f438606cb4 100644 --- a/lib/node_modules/@stdlib/stats/strided/dmediansorted/benchmark/c/benchmark.length.c +++ b/lib/node_modules/@stdlib/stats/strided/dmediansorted/benchmark/c/benchmark.length.c @@ -103,7 +103,7 @@ static double benchmark1( int iterations, int len ) { x = (double *) malloc( len * sizeof( double ) ); for ( i = 0; i < len; i++ ) { - x[ i ] = i; + x[ i ] = (double)i + rand_double(); } v = 0.0; t = tic(); @@ -139,7 +139,7 @@ static double benchmark2( int iterations, int len ) { x = (double *) malloc( len * sizeof( double ) ); for ( i = 0; i < len; i++ ) { - x[ i ] = i; + x[ i ] = (double)i + rand_double(); } v = 0.0; t = tic(); diff --git a/lib/node_modules/@stdlib/stats/strided/dminsorted/benchmark/c/benchmark.length.c b/lib/node_modules/@stdlib/stats/strided/dminsorted/benchmark/c/benchmark.length.c index 4e7618c49a63..5b0633f19b5a 100644 --- a/lib/node_modules/@stdlib/stats/strided/dminsorted/benchmark/c/benchmark.length.c +++ b/lib/node_modules/@stdlib/stats/strided/dminsorted/benchmark/c/benchmark.length.c @@ -103,7 +103,7 @@ static double benchmark1( int iterations, int len ) { x = (double *) malloc( len * sizeof( double ) ); for ( i = 0; i < len; i++ ) { - x[ i ] = i; + x[ i ] = (double)i + rand_double(); } v = 0.0; t = tic(); @@ -139,7 +139,7 @@ static double benchmark2( int iterations, int len ) { x = (double *) malloc( len * sizeof( double ) ); for ( i = 0; i < len; i++ ) { - x[ i ] = i; + x[ i ] = (double)i + rand_double(); } v = 0.0; t = tic(); diff --git a/lib/node_modules/@stdlib/stats/strided/smaxabssorted/benchmark/c/benchmark.length.c b/lib/node_modules/@stdlib/stats/strided/smaxabssorted/benchmark/c/benchmark.length.c index e5dcf51db339..62d32508c0c4 100644 --- a/lib/node_modules/@stdlib/stats/strided/smaxabssorted/benchmark/c/benchmark.length.c +++ b/lib/node_modules/@stdlib/stats/strided/smaxabssorted/benchmark/c/benchmark.length.c @@ -102,7 +102,7 @@ static double benchmark1( int iterations, int len ) { int i; for ( i = 0; i < len; i++ ) { - x[ i ] = i - (len/2); + x[ i ] = (float)( i - (len/2) ) + rand_float(); } v = 0.0f; t = tic(); @@ -136,7 +136,7 @@ static double benchmark2( int iterations, int len ) { int i; for ( i = 0; i < len; i++ ) { - x[ i ] = i - (len/2); + x[ i ] = (float)( i - (len/2) ) + rand_float(); } v = 0.0f; t = tic(); diff --git a/lib/node_modules/@stdlib/stats/strided/smaxsorted/benchmark/c/benchmark.length.c b/lib/node_modules/@stdlib/stats/strided/smaxsorted/benchmark/c/benchmark.length.c index f85739357632..3e2bcbbe79de 100644 --- a/lib/node_modules/@stdlib/stats/strided/smaxsorted/benchmark/c/benchmark.length.c +++ b/lib/node_modules/@stdlib/stats/strided/smaxsorted/benchmark/c/benchmark.length.c @@ -102,7 +102,7 @@ static double benchmark1( int iterations, int len ) { int i; for ( i = 0; i < len; i++ ) { - x[ i ] = i; + x[ i ] = (float)i + rand_float(); } v = 0.0f; t = tic(); @@ -136,7 +136,7 @@ static double benchmark2( int iterations, int len ) { int i; for ( i = 0; i < len; i++ ) { - x[ i ] = i; + x[ i ] = (float)i + rand_float(); } v = 0.0f; t = tic(); diff --git a/lib/node_modules/@stdlib/stats/strided/smediansorted/benchmark/c/benchmark.length.c b/lib/node_modules/@stdlib/stats/strided/smediansorted/benchmark/c/benchmark.length.c index ad9099f93e5d..e35f7196d5f5 100644 --- a/lib/node_modules/@stdlib/stats/strided/smediansorted/benchmark/c/benchmark.length.c +++ b/lib/node_modules/@stdlib/stats/strided/smediansorted/benchmark/c/benchmark.length.c @@ -102,7 +102,7 @@ static double benchmark1( int iterations, int len ) { int i; for ( i = 0; i < len; i++ ) { - x[ i ] = i; + x[ i ] = (float)i + rand_float(); } v = 0.0f; t = tic(); @@ -136,7 +136,7 @@ static double benchmark2( int iterations, int len ) { int i; for ( i = 0; i < len; i++ ) { - x[ i ] = i; + x[ i ] = (float)i + rand_float(); } v = 0.0f; t = tic(); diff --git a/lib/node_modules/@stdlib/stats/strided/sminsorted/benchmark/c/benchmark.length.c b/lib/node_modules/@stdlib/stats/strided/sminsorted/benchmark/c/benchmark.length.c index c05e445c15e7..f74116d65cab 100644 --- a/lib/node_modules/@stdlib/stats/strided/sminsorted/benchmark/c/benchmark.length.c +++ b/lib/node_modules/@stdlib/stats/strided/sminsorted/benchmark/c/benchmark.length.c @@ -102,7 +102,7 @@ static double benchmark1( int iterations, int len ) { int i; for ( i = 0; i < len; i++ ) { - x[ i ] = i; + x[ i ] = (float)i + rand_float(); } v = 0.0f; t = tic(); @@ -136,7 +136,7 @@ static double benchmark2( int iterations, int len ) { int i; for ( i = 0; i < len; i++ ) { - x[ i ] = i; + x[ i ] = (float)i + rand_float(); } v = 0.0f; t = tic();