diff data/fileio/CSVFileReader.cpp @ 1651:7a56bb85030f single-point

Introduce deferred notifier, + start converting sparse time-value model (perhaps we should rename it too)
author Chris Cannam
date Mon, 18 Mar 2019 14:17:20 +0000
parents 1cc9a0d4b1b6
children 5b7b01da430a
line wrap: on
line diff
--- a/data/fileio/CSVFileReader.cpp	Mon Mar 18 09:37:46 2019 +0000
+++ b/data/fileio/CSVFileReader.cpp	Mon Mar 18 14:17:20 2019 +0000
@@ -442,8 +442,8 @@
 
             } else if (modelType == CSVFormat::TwoDimensionalModel) {
 
-                SparseTimeValueModel::Point point(frameNo, value, label);
-                model2->addPoint(point);
+                Event point(frameNo, value, label);
+                model2->add(point);
 
             } else if (modelType == CSVFormat::TwoDimensionalModelWithDuration) {