fix
This commit is contained in:
parent
6b445b84d1
commit
0e5213f049
2 changed files with 8 additions and 6 deletions
|
@ -34,11 +34,13 @@ class Collector {
|
||||||
_fdSum(0),
|
_fdSum(0),
|
||||||
_unmatchedSegSum(0),
|
_unmatchedSegSum(0),
|
||||||
_unmatchedSegLengthSum(0),
|
_unmatchedSegLengthSum(0),
|
||||||
_acc0(0),
|
_an0(0),
|
||||||
_acc10(0),
|
_an5(0),
|
||||||
_acc20(0),
|
_an10(0),
|
||||||
_acc40(0),
|
_an30(0),
|
||||||
_acc80(0),
|
_an50(0),
|
||||||
|
_an70(0),
|
||||||
|
_an90(0),
|
||||||
_reportOut(reportOut) {}
|
_reportOut(reportOut) {}
|
||||||
|
|
||||||
// Add a shape found by our tool newS for a trip t with newly calculated
|
// Add a shape found by our tool newS for a trip t with newly calculated
|
||||||
|
|
|
@ -53,7 +53,7 @@ void eval(const std::vector<std::string>* paths,
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG(DEBUG) << "Evaluating " << path << "...";
|
LOG(DEBUG) << "Evaluating " << path << "...";
|
||||||
for (const auto oldTrip : evalFeed->getTrips()) {
|
for (const auto& oldTrip : evalFeed->getTrips()) {
|
||||||
if (!mots->count(oldTrip.second->getRoute()->getType())) continue;
|
if (!mots->count(oldTrip.second->getRoute()->getType())) continue;
|
||||||
auto newTrip = feed.getTrips().get(oldTrip.first);
|
auto newTrip = feed.getTrips().get(oldTrip.first);
|
||||||
if (!newTrip)
|
if (!newTrip)
|
||||||
|
|
Loading…
Reference in a new issue