mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add defensive assert to MatrixExponential,
This commit is contained in:
@@ -395,6 +395,9 @@ void MatrixExponential<MatrixType>::computeUV(long double)
|
||||
MatrixType A = m_M / pow(Scalar(2), m_squarings);
|
||||
pade17(A);
|
||||
}
|
||||
#else
|
||||
// this case should be handled in compute()
|
||||
eigen_assert(false && "Bug in MatrixExponential");
|
||||
#endif // LDBL_MANT_DIG
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user