You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// See http://www.netlib.org/lapack/explore-html/d7/d15/group__double__blas__level2_ga35ca25bb135cd7bfdd5d6190b1aa4d07.html#ga35ca25bb135cd7bfdd5d6190b1aa4d07
105
109
106
110
int inx = 1;
111
+
char c1 = 'U';
107
112
108
113
//F77_CALL(dger)(const int *m, const int *n, const double *alpha,
109
114
// const double *x, const int *incx,
110
115
// const double *y, const int *incy,
111
116
// double *a, const int *lda);
112
117
F77_CALL(dsyr)(
113
-
"U", n, alpha,
118
+
&c1, n, alpha,
114
119
x, &inx,
115
120
A, n);
116
121
}
@@ -132,9 +137,10 @@ namespace R_BLAS_LAPACK {
132
137
133
138
constdouble dum_d = 1.0;
134
139
constint dum_i = 1L;
140
+
char c1 = 'U';
135
141
136
142
F77_CALL(dsymv)(
137
-
"U", n,
143
+
&c1, n,
138
144
&dum_d, A, n,
139
145
x, &dum_i, &dum_d,
140
146
y, &dum_i);
@@ -160,9 +166,10 @@ namespace R_BLAS_LAPACK {
160
166
// Notice that we set UPLO to U so only the upper part is updated
0 commit comments