mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
Fix the memory overflow
This commit is contained in:
parent
9ad88ea09e
commit
fa107dda85
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user