v0.2.54..v0.2.55 changeset WayMatchStringMerger.cpp
Garret Voltz edited this page Aug 14, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/WayMatchStringMerger.cpp b/hoot-core/src/main/cpp/hoot/core/algorithms/WayMatchStringMerger.cpp
index 007bfcd..f3ba492 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/WayMatchStringMerger.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/WayMatchStringMerger.cpp
@@ -174,7 +174,7 @@ WayLocation WayMatchStringMerger::_findNodeLocation2(WayStringPtr ws, ElementId
ConstWayPtr w = subline.getWay();
// go through all the segments that are part of this subline
for (int j = subline.getFormer().getSegmentIndex();
- j <= subline.getLatter().getSegmentIndex(); ++j)
+ j <= subline.getLatter().getSegmentIndex(); ++j)
{
WayLocation wl(_map, w, j, 0.0);
if (subline.contains(wl))