projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NOOP, remove trailing tabs/whitespace.
[ardour.git]
/
libs
/
evoral
/
test
/
CurveTest.cpp
diff --git
a/libs/evoral/test/CurveTest.cpp
b/libs/evoral/test/CurveTest.cpp
index e7634f360251be2d5c37e022264f309bf409d9fe..07b41848339f4485258af46ecadf5c6e5b86dd02 100644
(file)
--- a/
libs/evoral/test/CurveTest.cpp
+++ b/
libs/evoral/test/CurveTest.cpp
@@
-334,7
+334,7
@@
CurveTest::constrainedCubic ()
f"2(x2) = 2*(2*f'2(x2) + f'2(x1))/(x2 – x1) - 6*(y2 – y1)/ (x2 – x1)^2
= 2*(2*0 + 1.8181)/(30 – 10) – 6*(150 – 130)/(30 – 10)^2
= -0.11818
-
+
d2 = 1/6 * (f"2(x2) - f"2(x1))/(x2 – x1)
= 1/6 * (-0.11818 + 0.063636)/(30 – 10)
= -0.0004545