comparison 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
comparison
equal deleted inserted replaced
1657:31b46a5647db 1658:5b7b01da430a
435 } 435 }
436 } 436 }
437 437
438 if (modelType == CSVFormat::OneDimensionalModel) { 438 if (modelType == CSVFormat::OneDimensionalModel) {
439 439
440 SparseOneDimensionalModel::Point point(frameNo, label); 440 Event point(frameNo, label);
441 model1->addPoint(point); 441 model1->add(point);
442 442
443 } else if (modelType == CSVFormat::TwoDimensionalModel) { 443 } else if (modelType == CSVFormat::TwoDimensionalModel) {
444 444
445 Event point(frameNo, value, label); 445 Event point(frameNo, value, label);
446 model2->add(point); 446 model2->add(point);