Skip to content

Commit 0857ee1

Browse files
kluonjKai Luo
andauthored
Fix: remove rwork from ssyevx function declaration (#6647)
* Fix: remove rwork from ssyevx function declaration * Fix: remove rwork parameter from heevx function call --------- Co-authored-by: Kai Luo <[email protected]>
1 parent cd52ac3 commit 0857ee1

File tree

1 file changed

+2
-2
lines changed
  • source/source_base/module_container/base/third_party

1 file changed

+2
-2
lines changed

source/source_base/module_container/base/third_party/lapack.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ void ssyevx_(const char* jobz, const char* range, const char* uplo, const int* n
110110
float* a, const int* lda,
111111
const float* vl, const float* vu, const int* il, const int* iu,
112112
const float* abstol, int* m, float* w, float* z, const int* ldz,
113-
float* work, const int* lwork, float* rwork, int* iwork, int* ifail, int* info);
113+
float* work, const int* lwork, int* iwork, int* ifail, int* info);
114114

115115
void dsyevx_(const char* jobz, const char* range, const char* uplo, const int* n,
116116
double* a, const int* lda,
@@ -338,7 +338,7 @@ void heevx(const char jobz, const char range, const char uplo, const int n,
338338
ssyevx_(&jobz, &range, &uplo, &n,
339339
a, &lda, &vl, &vu, &il, &iu,
340340
&abstol, &m, w, z, &ldz,
341-
work, &lwork, rwork, iwork, ifail, &info);
341+
work, &lwork, iwork, ifail, &info);
342342
}
343343
// wrap function of fortran lapack routine zheevx.
344344
static inline

0 commit comments

Comments
 (0)