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

Start some sparse model tests
author Chris Cannam
date Tue, 05 Mar 2019 13:21:55 +0000
parents ad5f892c0c4d
children 24dc8cb42755
line wrap: on
line diff
--- a/data/model/SparseOneDimensionalModel.h	Wed Feb 27 12:31:12 2019 +0000
+++ b/data/model/SparseOneDimensionalModel.h	Tue Mar 05 13:21:55 2019 +0000
@@ -67,6 +67,10 @@
             return p1.frame < p2.frame;
         }
     };
+
+    bool operator==(const OneDimensionalPoint &p) const {
+        return (frame == p.frame && label == p.label);
+    }
 };