Skip to content

Commit a114343

Browse files
authored
chore: add appropriate datatype
Signed-off-by: Shabareesh Shetty <[email protected]>
1 parent c458860 commit a114343

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/blas/base/dsyr/examples/c

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/blas/base/dsyr/examples/c/example.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ int main( void ) {
4545

4646
// Print the result:
4747
for ( int i = 0; i < N*N; i++ ) {
48-
printf( "A1[ %i ] = %f\n", i, A1[ i ] );
48+
printf( "A1[ %i ] = %lf\n", i, A1[ i ] );
4949
}
5050

5151
// Perform the symmetric rank 1 operation `A = α*x*x^T + A` using alternative indexing semantics:
5252
c_dsyr_ndarray( CblasUpper, N, 1.0, x, 1, 0, A2, N, 1, 0 );
5353

5454
// Print the result:
5555
for ( int i = 0; i < N*N; i++ ) {
56-
printf( "A2[ %i ] = %f\n", i, A2[ i ] );
56+
printf( "A2[ %i ] = %lf\n", i, A2[ i ] );
5757
}
5858
}

0 commit comments

Comments
 (0)