Skip to content

Commit

Permalink
Add missing dangling line visitor function (#681)
Browse files Browse the repository at this point in the history
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
  • Loading branch information
So-Fras committed Nov 21, 2023
1 parent 498aae1 commit 8740261
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 8740261

Please sign in to comment.