Skip to content

Commit c732e89

Browse files
committed
chore: resolve C examples
1 parent 1f2e049 commit c732e89

File tree

1 file changed

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

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ int main( void ) {
2727
double s;
2828
int i;
2929
for ( i = 0; i < 7; i++ ) {
30-
double a = *da[ i ];
31-
double b = *db[ i ];
32-
c_drotg( &a, &b, &c, &s );
33-
printf( "da: %lf, db: %lf, c: %lf, s: %lf\n", a, b, c, s );
30+
c_drotg( &da[i], &db[i], &c, &s );
31+
printf( "da: %lf, db: %lf, c: %lf, s: %lf\n", da[i], db[i], c, s );
3432
}
3533
}

0 commit comments

Comments
 (0)