bug #1098: fix regression introduced when generalizing some compute() methods in changeset 7031a851d4

.
This commit is contained in:
Gael Guennebaud
2015-10-26 16:00:25 +01:00
parent af2e25d482
commit f93654ae16
5 changed files with 27 additions and 1 deletions

View File

@@ -156,6 +156,12 @@ template<typename MatrixType> void selfadjointeigensolver(const MatrixType& m)
SelfAdjointEigenSolver<MatrixType> eiSymmNaN(symmC);
VERIFY_IS_EQUAL(eiSymmNaN.info(), NoConvergence);
}
// regression test for bug 1098
{
SelfAdjointEigenSolver<MatrixType> eig(a.adjoint() * a);
eig.compute(a.adjoint() * a);
}
}
void bug_854()