changeset 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 5cc969b236b0
children 9d443c13c5d1
files base/ColumnOp.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);