diff data/model/SparseModel.h @ 1609:560453546749 single-point

Start some sparse model tests
author Chris Cannam
date Tue, 05 Mar 2019 13:21:55 +0000
parents 0e0947896fd3
children 23a29e5dc0e9
line wrap: on
line diff
--- a/data/model/SparseModel.h	Wed Feb 27 12:31:12 2019 +0000
+++ b/data/model/SparseModel.h	Tue Mar 05 13:21:55 2019 +0000
@@ -580,7 +580,7 @@
     sv_frame_t f = 0;
     if (!m_points.empty()) {
         PointListConstIterator i(m_points.end());
-        f = (--i)->frame + 1;
+        f = (--i)->frame + getResolution();
     }
     if (m_extendTo > f) {
         return m_extendTo;