diff nnls.c @ 176:259ef0f4622b

Add a regression test, rejig Makefiles to use a common base
author Chris Cannam
date Mon, 02 Nov 2015 15:18:39 +0000
parents cf8898a0174c
children
line wrap: on
line diff
--- a/nnls.c	Mon Nov 02 12:35:13 2015 +0000
+++ b/nnls.c	Mon Nov 02 15:18:39 2015 +0000
@@ -212,7 +212,7 @@
   float temp, wmax;
   int i__, j, l;
   float t, alpha, asave;
-  int itmax, izmax, nsetp;
+  int itmax, izmax = 0, nsetp;
   float unorm, ztest, cc;
   float dummy[2];
   int ii, jj, ip;