diff data/model/FFTModel.cpp @ 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 825d0d7641ba
children 6b847a59d908
line wrap: on
line diff
--- a/data/model/FFTModel.cpp	Thu Aug 04 14:02:56 2016 +0100
+++ b/data/model/FFTModel.cpp	Fri Aug 05 14:31:16 2016 +0100
@@ -109,7 +109,9 @@
     auto cplx = getFFTColumn(x);
     Column col;
     col.reserve(cplx.size());
-    for (auto c: cplx) col.push_back(arg(c));
+    for (auto c: cplx) {
+        col.push_back(arg(c));
+    }
     return move(col);
 }