Update mMatrix.h

returning identity no longer necessary as fullinverse is its own algo
This commit is contained in:
marauder2k7 2024-07-31 18:54:22 +01:00
parent 165a2bea01
commit 219792cc30

View file

@ -1492,7 +1492,6 @@ inline Matrix<DATA_TYPE, rows, cols>& Matrix<DATA_TYPE, rows, cols>::inverse()
// Early out if pivot is 0, return identity matrix.
if (std::abs(augmentedMatrix(i, i)) < pivot_eps)
{
this->identity();
return *this;
}