Skip to content

Commit

Permalink
remove unused variable, hopefully fix a non-deterministic test
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbr committed Oct 17, 2024
1 parent 0073f27 commit f2065f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/pfaedle/tests/TestMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ int main(int argc, char** argv) {
froms.push_back({eB, 0, 0, {}, 0, {}});
tos.push_back({eC, 0, 0, {}, 0, {}});

LayerCostsDAG initCost{9999, 0};
LayerCostsDAG initCost{9998, 0};

double maxTime = 9999;

Expand Down
2 changes: 0 additions & 2 deletions src/shapevl/Collector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,8 @@ std::vector<LINE> Collector::segmentize(
POLYLINE pl(shape);
std::vector<double> cuts;

size_t i = 0;
for (const auto& st : t->getStopTimes()) {
cuts.push_back(st.getShapeDistanceTravelled());
i++;
}


Expand Down

0 comments on commit f2065f9

Please sign in to comment.