# HG changeset patch # User Chris Cannam # Date 1480344045 0 # Node ID 6681027ff2ff55089bdd1dd46db19c40b679988b # Parent 5cc969b236b0c71dbb44be44c9756264e6c16a82 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. diff -r 5cc969b236b0 -r 6681027ff2ff base/ColumnOp.cpp --- 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);