mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-21 17:19:36 +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)
|
||||
{
|
||||
vector(w,*n).setZero();
|
||||
make_vector(w,*n).setZero();
|
||||
if(computeVectors)
|
||||
matrix(a,*n,*n,*lda).setIdentity();
|
||||
//*info = 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
vector(w,*n) = eig.eigenvalues();
|
||||
make_vector(w,*n) = eig.eigenvalues();
|
||||
if(computeVectors)
|
||||
matrix(a,*n,*n,*lda) = eig.eigenvectors();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user