diff maths/Polyfit.h @ 430:335af74a25b6

Merge from branch clapack-included
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 30 Sep 2016 16:24:24 +0100
parents 7b7691b49197
children fa407c1d9923
line wrap: on
line diff
--- a/maths/Polyfit.h	Thu May 26 14:17:00 2016 +0100
+++ b/maths/Polyfit.h	Fri Sep 30 16:24:24 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)