mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
bug #1509: fix computeInverseWithCheck for complexes
This commit is contained in:
@@ -404,7 +404,7 @@ inline void MatrixBase<Derived>::computeInverseWithCheck(
|
||||
const RealScalar& absDeterminantThreshold
|
||||
) const
|
||||
{
|
||||
RealScalar determinant;
|
||||
Scalar determinant;
|
||||
// i'd love to put some static assertions there, but SFINAE means that they have no effect...
|
||||
eigen_assert(rows() == cols());
|
||||
computeInverseAndDetWithCheck(inverse,determinant,invertible,absDeterminantThreshold);
|
||||
|
||||
Reference in New Issue
Block a user