Skip to content

Commit 5c5a150

Browse files
eugenevignankerEugene Vignanker
andauthored
FSTALIGN-63: Added an assert (#49)
Co-authored-by: Eugene Vignanker <[email protected]>
1 parent bd93737 commit 5c5a150

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/fstalign.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,7 @@ void write_stitches_to_nlp(vector<Stitching>& stitches, ofstream &output_nlp_fil
597597

598598
ref_tk = original_nlp_token;
599599
} else if (stitch.comment.find("ins") == 0) {
600+
assert(add_inserts);
600601
logger->debug("an insertion was found for {} {}", stitch.hyptk, stitch.comment);
601602
ref_tk = "";
602603
stitch.comment = "ins(" + stitch.hyptk + ")";

0 commit comments

Comments
 (0)