Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph-Edwards committed Oct 11, 2023
1 parent fc10f6c commit d8a49d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/libsemigroups/aho-corasick.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ namespace libsemigroups {
}

// TODO to cpp
// Add links_exist flag
// TODO Add flags to show links have been cleared?
void add_word_no_checks(const_iterator first, const_iterator last) {
clear_suffix_links();
index_type current = root;
Expand Down Expand Up @@ -242,7 +242,7 @@ namespace libsemigroups {
// in this vector
void rm_node(index_type i) {
LIBSEMIGROUPS_ASSERT(i < _nodes.size());
// _nodes.erase(_nodes.begin() + i);
_nodes.erase(_nodes.begin() + i);
}
};

Expand Down

0 comments on commit d8a49d1

Please sign in to comment.