Skip to content

Commit

Permalink
Fix brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph-Edwards committed May 28, 2024
1 parent f690f0a commit 236ccda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/libsemigroups/aho-corasick.tpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ namespace libsemigroups {
auto last_index = traverse_trie(first, last);
if (last_index == UNDEFINED) {
LIBSEMIGROUPS_EXCEPTION("cannot remove the word {} given by the "
"arguments (first, last], as it does not "
"arguments [first, last), as it does not "
"correspond to a node in the trie",
word_type(first, last));
}
if (!_all_nodes[last_index].is_terminal()) {
LIBSEMIGROUPS_EXCEPTION("cannot remove the word {} given by the "
"arguments (first, last], as it does not "
"arguments [first, last), as it does not "
"correspond to a terminal node in the trie",
word_type(first, last));
}
Expand Down

0 comments on commit 236ccda

Please sign in to comment.