Ticket #17680: patch-src-Mat.cpp.diff
File patch-src-Mat.cpp.diff, 430 bytes (added by richard@…, 16 years ago) |
---|
-
src/Mat.cpp
620 620 } 621 621 622 622 pivot = A.Elt(i, i); 623 Assert( abs(pivot) > pAssertEps, "(inv) Matrix not invertible");623 Assert(std::abs(pivot) > pAssertEps, "(inv) Matrix not invertible"); 624 624 det *= pivot; 625 625 626 626 for (k = i + 1; k < n; k++) // Only do elements to the right of the pivot