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

@@ -125,6 +125,12 @@ template<typename MatrixType> void eigensolver(const MatrixType& m)
ComplexEigenSolver<MatrixType> eiNaN(a);
VERIFY_IS_EQUAL(eiNaN.info(), NoConvergence);
}
// regression test for bug 1098
{
ComplexEigenSolver<MatrixType> eig(a.adjoint() * a);
eig.compute(a.adjoint() * a);
}
}
template<typename MatrixType> void eigensolver_verify_assert(const MatrixType& m)