Skip to content

Commit 90a4feb

Browse files
authored
refactor: apply suggestions from code review
Signed-off-by: Muhammad Haris <[email protected]>
1 parent 4b22b40 commit 90a4feb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/blas/ext/base/dsort2hp/benchmark/c/benchmark.unsorted_random.length.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ static double benchmark2( int iterations, int len ) {
138138
double t;
139139
int i;
140140

141-
x = (double *)malloc( len * sizeof(double) );
142-
y = (double *)malloc( len * sizeof(double) );
141+
x = ( double * )malloc( len * sizeof(double) );
142+
y = ( double * )malloc( len * sizeof(double) );
143143
for ( i = 0; i < len; i++ ) {
144144
x[ i ] = ( rand_double()*20.0 ) - 10.0;
145145
y[ i ] = ( rand_double()*20.0 ) - 10.0;

0 commit comments

Comments
 (0)