diff --git a/src/common/wflign/src/wflign.cpp b/src/common/wflign/src/wflign.cpp index 22855fae..1d3a541e 100644 --- a/src/common/wflign/src/wflign.cpp +++ b/src/common/wflign/src/wflign.cpp @@ -612,7 +612,7 @@ void WFlign::wflign_affine_wavefront( pattern_length,text_length); // Extract the trace - if (wflambda_aligner->getAlignmentStatus() == WF_STATUS_OK) { + if (wflambda_aligner->getAlignmentStatus() == WF_STATUS_ALG_COMPLETED) { extend_data.num_alignments += wflambda_trace_match( alignments,*wflambda_aligner,trace,pattern_length,text_length); } diff --git a/src/common/wflign/src/wflign_patch.cpp b/src/common/wflign/src/wflign_patch.cpp index 93a01586..547cd155 100644 --- a/src/common/wflign/src/wflign_patch.cpp +++ b/src/common/wflign/src/wflign_patch.cpp @@ -201,7 +201,7 @@ void do_wfa_patch_alignment( * std::max((int)256, (int)std::min(target_length, query_length)))); wf_aligner.setMaxAlignmentSteps(max_score); const int status = wf_aligner.alignEnd2End(target + i,target_length,query + j,query_length); - aln.ok = (status == WF_STATUS_OK); + aln.ok = (status == WF_STATUS_ALG_COMPLETED); if (aln.ok) { // No more necessary: correct X/M errors in the cigar // hack_cigar(wf_aligner->cigar, query, target, query_length, target_length, j, i);