mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-30 17:40:05 +08:00
Add defensive assert to MatrixExponential,
This commit is contained in:
parent
dd598ef8ce
commit
a2feb6f3c7
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user