Change skipU argument to computeU - this reverses the meaning.

See "skipXxx / computeXxx parameters in Eigenvalues module" on mailing list.
This commit is contained in:
Jitse Niesen
2010-05-31 16:48:41 +01:00
parent c21390a611
commit 609941380a
3 changed files with 35 additions and 31 deletions

View File

@@ -56,6 +56,11 @@ template<typename MatrixType> void schur(int size = MatrixType::ColsAtCompileTim
ComplexSchur<MatrixType> cs2(A);
VERIFY_IS_EQUAL(cs1.matrixT(), cs2.matrixT());
VERIFY_IS_EQUAL(cs1.matrixU(), cs2.matrixU());
// Test computation of only T, not U
ComplexSchur<MatrixType> csOnlyT(A, false);
VERIFY_IS_EQUAL(cs1.matrixT(), csOnlyT.matrixT());
VERIFY_RAISES_ASSERT(csOnlyT.matrixU());
}
void test_schur_complex()