mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Check that Schur decomposition succeed.
This commit is contained in:
@@ -428,7 +428,8 @@ struct matrix_function_compute<MatrixType, 1>
|
|||||||
typedef internal::traits<MatrixType> Traits;
|
typedef internal::traits<MatrixType> Traits;
|
||||||
|
|
||||||
// compute Schur decomposition of A
|
// compute Schur decomposition of A
|
||||||
const ComplexSchur<MatrixType> schurOfA(A);
|
const ComplexSchur<MatrixType> schurOfA(A);
|
||||||
|
eigen_assert(schurOfA.info()==Success);
|
||||||
MatrixType T = schurOfA.matrixT();
|
MatrixType T = schurOfA.matrixT();
|
||||||
MatrixType U = schurOfA.matrixU();
|
MatrixType U = schurOfA.matrixU();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user