From c4fe85dd7c39ccab634516fbd89f0c04b825e28a Mon Sep 17 00:00:00 2001 From: nick_m Date: Mon, 29 Feb 2016 05:25:20 +1100 Subject: [PATCH] Tempo ramps - fix thinko --- libs/ardour/tempo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index c27bc95b3a..749042d950 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -839,7 +839,7 @@ TempoMap::replace_c_func_from_tempo_and_beat (const double& bpm, const double& b for (Metrics::iterator i = metrics.begin(); i != metrics.end(); ++i) { if ((t = dynamic_cast (*i)) != 0) { - if (prev_ts && t->beat() > prev_ts->beat()) { + if (prev_ts && beat < t->beat()) { prev_ts->set_c_func_from_tempo_and_beat (bpm, beat, _frame_rate); break; }