From 82a0c02af177d640b3876dd24789438ebaecee79 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 23 Oct 2009 04:24:20 +0000 Subject: [PATCH] Fix controller iteration / linear interpolation. Add unit test for controller iteration / linear interpolation. git-svn-id: svn://localhost/ardour2/branches/3.0@5886 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/evoral/evoral/Parameter.hpp | 2 +- libs/evoral/src/Sequence.cpp | 8 ++-- libs/evoral/test/SequenceTest.cpp | 67 ++++++++++++++++++++++++++++++- libs/evoral/test/SequenceTest.hpp | 21 +++++++++- 4 files changed, 92 insertions(+), 6 deletions(-) diff --git a/libs/evoral/evoral/Parameter.hpp b/libs/evoral/evoral/Parameter.hpp index 8ffa5d30c7..6bd0954b8a 100644 --- a/libs/evoral/evoral/Parameter.hpp +++ b/libs/evoral/evoral/Parameter.hpp @@ -75,7 +75,7 @@ public: * f(x, y) and f(x, z) hold => !f(x, z) * * That implies one of the following: - *
    + *
      *
    1. x == z which contradicts the assumption f(x, y) and f(y, x) * because of antisymmetry. *
    2. diff --git a/libs/evoral/src/Sequence.cpp b/libs/evoral/src/Sequence.cpp index 636816eb69..93eccb6cce 100644 --- a/libs/evoral/src/Sequence.cpp +++ b/libs/evoral/src/Sequence.cpp @@ -97,7 +97,7 @@ Sequence