Mercurial > hg > svapp
diff framework/SVFileReader.cpp @ 651:b63dfd7e2780 single-point
Updates for SparseOneDimensionalModel in new API
author | Chris Cannam |
---|---|
date | Thu, 21 Mar 2019 13:34:34 +0000 |
parents | 284cb118368e |
children | 8fb56fb5bdd3 |
line wrap: on
line diff
--- a/framework/SVFileReader.cpp Wed Mar 20 11:19:44 2019 +0000 +++ b/framework/SVFileReader.cpp Thu Mar 21 13:34:34 2019 +0000 @@ -1086,7 +1086,7 @@ if (sodm) { // SVCERR << "Current dataset is a sparse one dimensional model" << endl; QString label = attributes.value("label"); - sodm->addPoint(SparseOneDimensionalModel::Point(frame, label)); + sodm->add(Event(frame, label)); return true; }