mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-08 09:49:03 +08:00
Fix lapack build
This commit is contained in:
parent
ec65e6648c
commit
ceae5b4145
@ -64,14 +64,14 @@ EIGEN_LAPACK_FUNC(syev,(char *jobz, char *uplo, int* n, Scalar* a, int *lda, Sca
|
|||||||
|
|
||||||
if(eig.info()==NoConvergence)
|
if(eig.info()==NoConvergence)
|
||||||
{
|
{
|
||||||
vector(w,*n).setZero();
|
make_vector(w,*n).setZero();
|
||||||
if(computeVectors)
|
if(computeVectors)
|
||||||
matrix(a,*n,*n,*lda).setIdentity();
|
matrix(a,*n,*n,*lda).setIdentity();
|
||||||
//*info = 1;
|
//*info = 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
vector(w,*n) = eig.eigenvalues();
|
make_vector(w,*n) = eig.eigenvalues();
|
||||||
if(computeVectors)
|
if(computeVectors)
|
||||||
matrix(a,*n,*n,*lda) = eig.eigenvectors();
|
matrix(a,*n,*n,*lda) = eig.eigenvectors();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user