diff transform/FeatureExtractionModelTransformer.cpp @ 1658:5b7b01da430a single-point

Start updating SparseOneDimensionalModel
author Chris Cannam
date Wed, 20 Mar 2019 16:22:13 +0000
parents 7a56bb85030f
children 565575463752
line wrap: on
line diff
--- a/transform/FeatureExtractionModelTransformer.cpp	Wed Mar 20 15:45:52 2019 +0000
+++ b/transform/FeatureExtractionModelTransformer.cpp	Wed Mar 20 16:22:13 2019 +0000
@@ -977,8 +977,7 @@
             getConformingOutput<SparseOneDimensionalModel>(n);
         if (!model) return;
 
-        model->addPoint(SparseOneDimensionalModel::Point
-                       (frame, feature.label.c_str()));
+        model->add(Event(frame, feature.label.c_str()));
         
     } else if (isOutput<SparseTimeValueModel>(n)) {