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-04-29 21:46:48 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-04-29 21:46:48 +0400
commitce95c117f6ca765958e533d1e2d5e3175e2346a1 (patch)
tree2e63c68b11bd0e101250dc3f7de54d444288a400 /moses/ScoreComponentCollectionTest.cpp
parentf5d3f16fab07f22cb1ca9070d33e413fd0aa0f3f (diff)
parent972001e345573e9c193b035f1ed016e8721606ca (diff)
merge
Diffstat (limited to 'moses/ScoreComponentCollectionTest.cpp')
-rw-r--r--moses/ScoreComponentCollectionTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ScoreComponentCollectionTest.cpp b/moses/ScoreComponentCollectionTest.cpp
index 110021ca5..7da5cd1ec 100644
--- a/moses/ScoreComponentCollectionTest.cpp
+++ b/moses/ScoreComponentCollectionTest.cpp
@@ -103,7 +103,7 @@ BOOST_FIXTURE_TEST_CASE(sparse_feature, MockProducers)
BOOST_CHECK_EQUAL( scc.GetScoreForProducer(&sparse,"third"), 0.0f);
scc.Assign(&sparse, "first", -1.9f);
BOOST_CHECK_EQUAL( scc.GetScoreForProducer(&sparse,"first"), -1.9f);
- scc.PlusEquals(&sparse, "first", -1.9f);
+ scc.PlusEquals(&sparse, StringPiece("first"), -1.9f);
BOOST_CHECK_EQUAL( scc.GetScoreForProducer(&sparse,"first"), -3.8f);
}