Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/moses
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2012-05-06 01:19:26 +0400
committerKenneth Heafield <github@kheafield.com>2012-05-06 01:19:26 +0400
commit12a340f281768d86440f8e36b4fb09e55c176c18 (patch)
treeeada9de63a6895acee8dd8f17af12111587bbca2 /moses
parente9a6212de179849f3d339ee18804f2bdc6f4f6ce (diff)
parentc185672df7bc5589094061aa637a59343be447f1 (diff)
Merge branch 'master' of github.com:moses-smt/mosesdecoder
Diffstat (limited to 'moses')
-rw-r--r--moses/src/HypothesisStack.h2
-rw-r--r--moses/src/HypothesisStackNormal.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/moses/src/HypothesisStack.h b/moses/src/HypothesisStack.h
index 784cd7a39..045773725 100644
--- a/moses/src/HypothesisStack.h
+++ b/moses/src/HypothesisStack.h
@@ -39,7 +39,7 @@ public:
virtual float GetWorstScoreForBitmap( WordsBitmapID ) {
return -std::numeric_limits<float>::infinity();
};
- virtual float GetWorstScoreForBitmap( WordsBitmap ) {
+ virtual float GetWorstScoreForBitmap( const WordsBitmap& ) {
return -std::numeric_limits<float>::infinity();
};
diff --git a/moses/src/HypothesisStackNormal.h b/moses/src/HypothesisStackNormal.h
index 6996f4003..d991ec373 100644
--- a/moses/src/HypothesisStackNormal.h
+++ b/moses/src/HypothesisStackNormal.h
@@ -66,7 +66,7 @@ public:
return -std::numeric_limits<float>::infinity();
return m_diversityWorstScore[ id ];
}
- float GetWorstScoreForBitmap( const WordsBitmap &coverage ) {
+ virtual float GetWorstScoreForBitmap( const WordsBitmap &coverage ) {
return GetWorstScoreForBitmap( coverage.GetID() );
}