mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-06 14:14:46 +08:00
Check that Schur decomposition succeed.
This commit is contained in:
parent
0a1cc73942
commit
1b2dcf9a47
@ -429,6 +429,7 @@ struct matrix_function_compute<MatrixType, 1>
|
||||
|
||||
// compute Schur decomposition of A
|
||||
const ComplexSchur<MatrixType> schurOfA(A);
|
||||
eigen_assert(schurOfA.info()==Success);
|
||||
MatrixType T = schurOfA.matrixT();
|
||||
MatrixType U = schurOfA.matrixU();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user