Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit 18cb2805 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

core/segment.cpp: rename 'best_score' to 'best_score_seg'

parent 1f1f16e2
......@@ -276,7 +276,7 @@ KmerSegmenter::~KmerSegmenter() {
KmerMultiSegmenter::KmerMultiSegmenter(Sequence seq, MultiGermline *multigermline, ostream *out_unsegmented)
{
int best_score = 0 ;
int best_score_seg = 0 ; // Best score, segmented sequences
int best_score_unseg = 0 ; // Best score, unsegmented sequences
the_kseg = NULL;
......@@ -311,10 +311,10 @@ KmerMultiSegmenter::KmerMultiSegmenter(Sequence seq, MultiGermline *multigermlin
{
// Yes, it is segmented
// Should we keep the kseg ?
if (kseg->score > best_score)
if (kseg->score > best_score_seg)
{
keep_seg = true;
best_score = kseg->score ;
best_score_seg = kseg->score ;
}
}
else
......
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