@@ -228,7 +228,7 @@ void hegvd(const int itype, const char jobz, const char uplo, const int n,
228228 float * a, const int lda,
229229 float * b, const int ldb, float * w,
230230 float * work, int lwork, float * rwork, int lrwork,
231- int * iwork, int liwork, int & info)
231+ int * iwork, int liwork, int info)
232232{
233233 // call the fortran routine
234234 ssygvd_ (&itype, &jobz, &uplo, &n,
@@ -242,7 +242,7 @@ void hegvd(const int itype, const char jobz, const char uplo, const int n,
242242 double * a, const int lda,
243243 double * b, const int ldb, double * w,
244244 double * work, int lwork, double * rwork, int lrwork,
245- int * iwork, int liwork, int & info)
245+ int * iwork, int liwork, int info)
246246{
247247 // call the fortran routine
248248 dsygvd_ (&itype, &jobz, &uplo, &n,
@@ -255,7 +255,7 @@ void hegvd(const int itype, const char jobz, const char uplo, const int n,
255255 std::complex <float >* a, const int lda,
256256 std::complex <float >* b, const int ldb, float * w,
257257 std::complex <float >* work, int lwork, float * rwork, int lrwork,
258- int * iwork, int liwork, int & info)
258+ int * iwork, int liwork, int info)
259259{
260260 // call the fortran routine
261261 chegvd_ (&itype, &jobz, &uplo, &n,
@@ -269,7 +269,7 @@ void hegvd(const int itype, const char jobz, const char uplo, const int n,
269269 std::complex <double >* a, const int lda,
270270 std::complex <double >* b, const int ldb, double * w,
271271 std::complex <double >* work, int lwork, double * rwork, int lrwork,
272- int * iwork, int liwork, int & info)
272+ int * iwork, int liwork, int info)
273273{
274274 // call the fortran routine
275275 zhegvd_ (&itype, &jobz, &uplo, &n,
0 commit comments