diff maths/Polyfit.h @ 429:7b7691b49197

Minor build fixes
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 30 Sep 2016 16:23:10 +0100
parents f4bb0bce64d4
children fa407c1d9923
line wrap: on
line diff
--- a/maths/Polyfit.h	Fri Sep 30 16:22:56 2016 +0100
+++ b/maths/Polyfit.h	Fri Sep 30 16:23:10 2016 +0100
@@ -292,7 +292,7 @@
     double big, t;
     double pivot;
     double determ;
-    int irow, icol;
+    int irow = 0, icol = 0;
     int ncol(b.size());
     int nv = 1;                  // single constant vector
     for(int i = 0; i < ncol; ++i)