Skip to content

Commit 665f0d3

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <kgryte@gmail.com>
1 parent 1423645 commit 665f0d3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/node_modules/@stdlib/blas/base/dcopy/benchmark/c/benchmark.length.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ static double benchmark1( int iterations, int len ) {
103103

104104
x = (double *) malloc( len * sizeof( double ) );
105105
y = (double *) malloc( len * sizeof( double ) );
106-
107106
for ( i = 0; i < len; i++ ) {
108107
x[ i ] = ( rand_double()*20000.0 ) - 10000.0;
109108
y[ i ] = 0.0;
@@ -120,7 +119,6 @@ static double benchmark1( int iterations, int len ) {
120119
if ( y[ 0 ] != y[ 0 ] ) {
121120
printf( "should not return NaN\n" );
122121
}
123-
124122
free( x );
125123
free( y );
126124
return elapsed;

0 commit comments

Comments
 (0)