diff data/model/Dense3DModelPeakCache.cpp @ 548:1469caaa8e67

* Finer locking in fft caches; fix displayed bin ranges in spectrogram
author Chris Cannam
date Thu, 05 Feb 2009 12:05:28 +0000
parents 95391b480e17
children 408e56d30f58
line wrap: on
line diff
--- a/data/model/Dense3DModelPeakCache.cpp	Wed Feb 04 20:39:11 2009 +0000
+++ b/data/model/Dense3DModelPeakCache.cpp	Thu Feb 05 12:05:28 2009 +0000
@@ -79,9 +79,7 @@
         // may since have been filled, so reset it
         m_coverage.reset(m_coverage.size()-1);
     }
-    if (getWidth() > m_coverage.size()) {
-        m_coverage.resize(getWidth()); // clears all bits, which is OK with us
-    }
+    m_coverage.resize(getWidth()); // retaining data
 }
 
 void