Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
easbar committed Dec 29, 2019
1 parent f674be2 commit 086cafc
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -138,6 +138,7 @@ boolean isReadyForContraction() {
*/
public void disconnect(PrepareCHEdgeExplorer explorer, PrepareCHEdgeIterator edgeState) {
// search edge with opposite direction but we need to know the previousEdge so we cannot simply do:
// EdgeIteratorState tmpIter = getEdgeIteratorState(edgeState.getEdge(), edgeState.getBaseNode());
PrepareCHEdgeIterator tmpIter = explorer.setBaseNode(edgeState.getAdjNode());
int prevEdge = EdgeIterator.NO_EDGE;
while (tmpIter.next()) {
Expand Down

0 comments on commit 086cafc

Please sign in to comment.