Skip to content

Commit

Permalink
Add missing dangling line visitor function
Browse files Browse the repository at this point in the history
Signed-off-by: Sophie Frasnedo <[email protected]>
  • Loading branch information
So-Fras committed Nov 21, 2023
1 parent 498aae1 commit 6233d4a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,11 @@ private void visitTerminal(Terminal terminal) {
}

}

public void visitDanglingLine(DanglingLine danglingLine) {
if (danglingLine.isPaired()) {
danglingLine.getTieLine().ifPresent(tieline -> visitBranch(tieline, tieline.getSide(danglingLine.getTerminal())));
}
}
}
}

0 comments on commit 6233d4a

Please sign in to comment.