diff options
Diffstat (limited to 'vest/scorer.cc')
-rw-r--r-- | vest/scorer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vest/scorer.cc b/vest/scorer.cc index 5671de38..70fdef34 100644 --- a/vest/scorer.cc +++ b/vest/scorer.cc @@ -483,7 +483,7 @@ void SentenceScorer::ComputeErrorSurface(const ViterbiEnvelope& ve, ErrorSurface void BLEUScore::ScoreDetails(string* details) const { char buf[2000]; - vector<float> precs(min(N(),4)); + vector<float> precs(max(N(),4)); float bp; float bleu = ComputeScore(&precs, &bp); for (int i=N();i<4;++i) |