Fix the memory overflow

This commit is contained in:
cservan 2011-12-23 11:14:34 +01:00
parent 9ad88ea09e
commit fa107dda85

View File

@ -84,7 +84,7 @@ void TerScorer::prepareStats ( size_t sid, const string& text, ScoreStats& entry
} else if ( result.scoreAv() > tmp_result.scoreAv() ) {
result = tmp_result;
}
delete evaluation;
}
ostringstream stats;
// multiplication by 100 in order to keep the average precision