summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/evoral/src/Curve.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/evoral/src/Curve.cpp b/libs/evoral/src/Curve.cpp
index 4f9d30775d..b59d4735bf 100644
--- a/libs/evoral/src/Curve.cpp
+++ b/libs/evoral/src/Curve.cpp
@@ -255,6 +255,10 @@ Curve::_get_vector (double x0, double x1, float *vec, int32_t veclen)
/* fill some end section of the array with the default or final value */
double frac = (x1 - max_x) / (x1 - x0);
+
+ cerr << "compute subveclen from " << original_veclen << " * " << frac
+ << " taken from " << x0 << " .. " << x0
+ << endl;
int64_t subveclen = (int64_t) floor (original_veclen * frac);