mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
evoral: fix for Curve coefficient computation
This commit is contained in:
parent
21c94b23f3
commit
4cef8c681c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue