Skip to content

Commit

Permalink
chore: apply review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aman-095 committed Apr 22, 2024
1 parent 7b35d7f commit f99c12e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/node_modules/@stdlib/blas/base/cscal/examples/c/example.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ int main( void ) {
// Specify the number of elements:
const int N = 4;

// Specify stride lengths:
// Specify stride length:
const int strideX = 1;

// Copy elements:
// Scale the elements of the array:
c_cscal( N, ca, (void *)cx, strideX );

// Print the result:
for ( int i = 0; i < N; i++ ) {
printf( "y[ %i ] = %f + %fj\n", i, cx[ i*2 ], cx[ (i*2)+1 ] );
printf( "cx[ %i ] = %f + %fj\n", i, cx[ i*2 ], cx[ (i*2)+1 ] );
}
}

0 comments on commit f99c12e

Please sign in to comment.