Skip to content

Commit

Permalink
Add missing assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
Adda0 committed Apr 15, 2024
1 parent 56a36b5 commit 7f08f73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nft/nft.cc
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ State Nft::insert_word_by_parts(const State source, const std::vector<Word> &wor
assert(source < num_of_states());
assert(target < num_of_states());
assert(source < levels.size());
assert(target < levels.size());
assert(levels[source] == levels[target]);
const Level from_to_level{ levels[source] };

Expand Down

0 comments on commit 7f08f73

Please sign in to comment.