mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Remove "using namespace Eigen" from blas/common.h.
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
6ed4d80cc8
commit
8a73c6490f
@@ -47,9 +47,10 @@ EIGEN_LAPACK_FUNC(syev)
|
||||
mat = matrix(a, *n, *n, *lda);
|
||||
|
||||
bool computeVectors = *jobz == 'V' || *jobz == 'v';
|
||||
SelfAdjointEigenSolver<PlainMatrixType> eig(mat, computeVectors ? ComputeEigenvectors : EigenvaluesOnly);
|
||||
Eigen::SelfAdjointEigenSolver<PlainMatrixType> eig(
|
||||
mat, computeVectors ? Eigen::ComputeEigenvectors : Eigen::EigenvaluesOnly);
|
||||
|
||||
if (eig.info() == NoConvergence) {
|
||||
if (eig.info() == Eigen::NoConvergence) {
|
||||
make_vector(w, *n).setZero();
|
||||
if (computeVectors) matrix(a, *n, *n, *lda).setIdentity();
|
||||
//*info = 1;
|
||||
|
||||
Reference in New Issue
Block a user