diff base/ColumnOp.h @ 1201:6f7a440b6218 spectrogram-minor-refactor

Fixes to phase display and colour scale for it; tidy up some debug output
author Chris Cannam
date Fri, 05 Aug 2016 14:31:16 +0100
parents b494439a301c
children 303039dd9e05
line wrap: on
line diff
--- a/base/ColumnOp.h	Thu Aug 04 14:02:56 2016 +0100
+++ b/base/ColumnOp.h	Fri Aug 05 14:31:16 2016 +0100
@@ -200,7 +200,7 @@
 
 		    float value = in[bin];
 
-		    if (value > out[y]) {
+		    if (bin == by0 || value > out[y]) {
 			out[y] = value;
 		    }
 		}