13
0

evoral: fix for Curve coefficient computation

This commit is contained in:
Paul Davis 2021-08-30 09:03:47 -06:00
parent 21c94b23f3
commit 4cef8c681c

View File

@ -111,7 +111,7 @@ Curve::solve () const
/* first segment */
fplast = ((3 * (y[1] - y[0]) / (2 * (xi - xim1))) - (fpone * 0.5));
fplast = ((3 * (y[1] - y[0]) / (2 * (x[1].val() - x[0].val()))) - (fpone * 0.5));
/* we don't store coefficients for i = 0 */