From a5ccb521e6acca88a46f7c67f3295baa3ceab70b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 17 Nov 2021 10:50:35 -0700 Subject: [PATCH] tempo map: NOOP helpful comment, perhaps --- libs/temporal/tempo.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/temporal/tempo.cc b/libs/temporal/tempo.cc index 43bf139e0d..4005023727 100644 --- a/libs/temporal/tempo.cc +++ b/libs/temporal/tempo.cc @@ -2051,6 +2051,10 @@ TempoMap::get_grid (TempoMapPoints& ret, superclock_t start, superclock_t end, u p = nxt; } + /* If we've reached the end of the points list, break and let + * the final phase below fill out the rest of the grid + */ + if (p == _points.end()) { break; }