summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/tempo.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc
index 137d25b217..c39b8d0757 100644
--- a/libs/ardour/tempo.cc
+++ b/libs/ardour/tempo.cc
@@ -2196,6 +2196,8 @@ TempoMap::bbt_before_or_at (framepos_t pos)
i = lower_bound (_map.begin(), _map.end(), pos);
assert (i != _map.end());
if ((*i).frame > pos) {
+ cerr << "lower bound was found at " << (*i).frame << " for " << pos;
+ dump (cerr);
assert (i != _map.begin());
--i;
}