diff --git a/lib/node_modules/@stdlib/blas/ext/base/dsort2hp/benchmark/c/benchmark.unsorted_random.length.c b/lib/node_modules/@stdlib/blas/ext/base/dsort2hp/benchmark/c/benchmark.unsorted_random.length.c index 6c283319bf85..286dccc07db1 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dsort2hp/benchmark/c/benchmark.unsorted_random.length.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dsort2hp/benchmark/c/benchmark.unsorted_random.length.c @@ -141,13 +141,13 @@ static double benchmark2( int iterations, int len ) { t = tic(); for ( i = 0; i < iterations; i++ ) { stdlib_strided_dsort2hp_ndarray( len, 1, x, 1, 0, y, 1, 0 ); - if ( y[ i%len ] != y[ i%len ] ) { + if ( y[ 0 ] != y[ 0 ] ) { printf( "should not return NaN\n" ); break; } } elapsed = tic() - t; - if ( y[ i%len ] != y[ i%len ] ) { + if ( y[ 0 ] != y[ 0 ] ) { printf( "should not return NaN\n" ); } return elapsed;