evoral: fix for Curve coefficient computation
This commit is contained in:
parent
21c94b23f3
commit
4cef8c681c
@ -111,7 +111,7 @@ Curve::solve () const
|
|||||||
|
|
||||||
/* first segment */
|
/* 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 */
|
/* we don't store coefficients for i = 0 */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user