Commit ae1a0cd8 authored by Mikaël Salson's avatar Mikaël Salson

segment.cpp: initialise marked_pos

May cause some issue when sequence is not segmented... we may find a CDR3.

It is hard to create a faulty test as it will depend on what was present in
memory before that.
parent f3c6d2b8
......@@ -854,6 +854,8 @@ FineSegmenter::FineSegmenter(Sequence seq, Germline *germline, Cost segment_c,
evalue = NO_LIMIT_VALUE;
evalue_left = NO_LIMIT_VALUE;
evalue_right = NO_LIMIT_VALUE;
box_V->marked_pos = 0;
box_J->marked_pos = 0;
CDR3start = -1;
CDR3end = -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment