diff base/ColumnOp.cpp @ 1301:6681027ff2ff 3.0-integration

Interpolate always, when interpolation requested. Previous test failed to take into account varying bin height in log-scale modes, which meant interpolation might be necessary even when more bins than pixels.
author Chris Cannam <cannam@all-day-breakfast.com>
date Mon, 28 Nov 2016 14:40:45 +0000
parents 2f468f43c02c
children 47ee4706055c
line wrap: on
line diff
--- a/base/ColumnOp.cpp	Fri Nov 25 11:37:06 2016 +0000
+++ b/base/ColumnOp.cpp	Mon Nov 28 14:40:45 2016 +0000
@@ -101,7 +101,7 @@
 
     for (int y = 0; y < h; ++y) {
 
-        if (interpolate && h > bins) {
+        if (interpolate) {
 
             double sy = binfory[y] - minbin - 0.5;
             double syf = floor(sy);