Skip to content

Commit

Permalink
FSTALIGN-63: Added an assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Vignanker committed Sep 11, 2023
1 parent bd93737 commit 45f87d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fstalign.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,7 @@ void write_stitches_to_nlp(vector<Stitching>& stitches, ofstream &output_nlp_fil

ref_tk = original_nlp_token;
} else if (stitch.comment.find("ins") == 0) {
assert(add_inserts);
logger->debug("an insertion was found for {} {}", stitch.hyptk, stitch.comment);
ref_tk = "";
stitch.comment = "ins(" + stitch.hyptk + ")";
Expand Down

0 comments on commit 45f87d6

Please sign in to comment.