diff data/fileio/CSVFileReader.cpp @ 1658:5b7b01da430a single-point

Start updating SparseOneDimensionalModel
author Chris Cannam
date Wed, 20 Mar 2019 16:22:13 +0000
parents 7a56bb85030f
children d484490cdf69
line wrap: on
line diff
--- a/data/fileio/CSVFileReader.cpp	Wed Mar 20 15:45:52 2019 +0000
+++ b/data/fileio/CSVFileReader.cpp	Wed Mar 20 16:22:13 2019 +0000
@@ -437,8 +437,8 @@
 
             if (modelType == CSVFormat::OneDimensionalModel) {
             
-                SparseOneDimensionalModel::Point point(frameNo, label);
-                model1->addPoint(point);
+                Event point(frameNo, label);
+                model1->add(point);
 
             } else if (modelType == CSVFormat::TwoDimensionalModel) {