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
diff options
context:
space:
mode:
authorHieu Hoang <hieu@hoang.co.uk>2013-07-11 18:42:01 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-07-11 18:42:01 +0400
commitddffe5e01b67fb0aab22a67912d25d55bb314c96 (patch)
tree10a5cfa8d1e2873e7533fbacbbac44c52ca5b785 /moses/ScoreComponentCollection.cpp
parent310b26f9896bf75b1e7060223274f723189dcd72 (diff)
minor debug tweak
Diffstat (limited to 'moses/ScoreComponentCollection.cpp')
-rw-r--r--moses/ScoreComponentCollection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ScoreComponentCollection.cpp b/moses/ScoreComponentCollection.cpp
index 44f08b316..d6ddaec9f 100644
--- a/moses/ScoreComponentCollection.cpp
+++ b/moses/ScoreComponentCollection.cpp
@@ -21,7 +21,7 @@ void ScoreComponentCollection::RegisterScoreProducer
{
size_t start = s_denseVectorSize;
size_t end = start + scoreProducer->GetNumScoreComponents();
- VERBOSE(1, "FeatureFunction: " << scoreProducer->GetScoreProducerDescription() << " start: " << start << " end: " << end << endl);
+ VERBOSE(1, "FeatureFunction: " << scoreProducer->GetScoreProducerDescription() << " start: " << start << " end: " << (end-1) << endl);
s_scoreIndexes[scoreProducer] = pair<size_t,size_t>(start,end);
s_denseVectorSize = end;
}