summaryrefslogtreecommitdiff
path: root/math/newmat/files/patch-newmat6.cpp
blob: e5c31c9eb6d85f0c7486d069218fdadccf43cbe9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- newmat6.cpp.orig	2006-09-09 12:51:25 UTC
+++ newmat6.cpp
@@ -428,7 +428,7 @@ void CroutMatrix::operator=(const CroutM
 {
    if (&gm == this) { REPORT tag_val = -1; return; }
    REPORT
-   if (indx > 0) { delete [] indx; indx = 0; }
+   if (indx) { delete [] indx; indx = 0; }
    ((CroutMatrix&)gm).get_aux(*this);
    Eq(gm);
 }