Skip to content

Commit f99c12e

Browse files
committed
chore: apply review changes
1 parent 7b35d7f commit f99c12e

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/blas/base/cscal/examples/c

1 file changed

+3
-3
lines changed

Diff for: lib/node_modules/@stdlib/blas/base/cscal/examples/c/example.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ int main( void ) {
3030
// Specify the number of elements:
3131
const int N = 4;
3232

33-
// Specify stride lengths:
33+
// Specify stride length:
3434
const int strideX = 1;
3535

36-
// Copy elements:
36+
// Scale the elements of the array:
3737
c_cscal( N, ca, (void *)cx, strideX );
3838

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

0 commit comments

Comments
 (0)