Fix coverage for inverse.

This commit is contained in:
James Goppert
2017-02-03 17:24:15 -05:00
parent db6dfeafbe
commit a154e14439
2 changed files with 26 additions and 4 deletions
+2 -3
View File
@@ -232,9 +232,8 @@ bool inv(const SquareMatrix<Type, M> & A, SquareMatrix<Type, M> & inv)
// divide by the factor
// on current
// term to be solved
if(fabsf(U(i,i)) < 1e-8f) {
return false;
}
//
// we know that U(i, i) != 0 from above
P(i, c) /= U(i, i);
}
}