Skip to content

Commit 02644ce

Browse files
committed
Fix a comment
1 parent 897231b commit 02644ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/edu/stanford/nlp/semgraph/semgrex/ssurgeon/DeleteLeaf.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public boolean evaluate(SemanticGraph sg, SemgrexMatcher sm) {
4242
}
4343
int deletedIndex = tgtNode.index();
4444
boolean deletedNode = sg.removeVertex(tgtNode);
45-
// TODO: renumber
45+
// renumber the indices
4646
if (deletedNode) {
4747
AddDep.moveNodes(sg, sm, x -> (x >= deletedIndex), x -> x-1, false);
4848
}

0 commit comments

Comments
 (0)