Skip to content

Commit 36daba2

Browse files
committed
Fix ContradictoryLevelAndInclineInfoForWay issue being generated too often.
1 parent 8eae4aa commit 36daba2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

application/src/main/java/org/opentripplanner/graph_builder/module/osm/edgelevelinfo/DefaultInclinedEdgeLevelInfoProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public Optional<InclinedEdgeLevelInfo> findInclinedEdgeLevelInfo(OsmWay way) {
4343
if (
4444
levelInfo != null &&
4545
inclineInfo != null &&
46-
levelInfo.lowerVertexInfo() != inclineInfo.lowerVertexInfo()
46+
levelInfo.lowerVertexInfo().osmNodeId() != inclineInfo.lowerVertexInfo().osmNodeId()
4747
) {
4848
issueStore.add(
4949
new ContradictoryLevelAndInclineInfoForWay(

0 commit comments

Comments
 (0)