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>2014-04-17 23:04:02 +0400
committerHieu Hoang <hieu@hoang.co.uk>2014-04-17 23:04:02 +0400
commita4d32a2b090be41969b651fcad2df34fd824cbae (patch)
tree3099e7507fb06bc9481a5272729a54fb286daa6d /moses/ChartKBestExtractor.cpp
parentd90aaf101839f172994142a14cd6c5908a5f962e (diff)
minor compile errors in ChartKBestExtractor
Diffstat (limited to 'moses/ChartKBestExtractor.cpp')
-rw-r--r--moses/ChartKBestExtractor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ChartKBestExtractor.cpp b/moses/ChartKBestExtractor.cpp
index 60c066191..05f8920c5 100644
--- a/moses/ChartKBestExtractor.cpp
+++ b/moses/ChartKBestExtractor.cpp
@@ -73,7 +73,7 @@ void ChartKBestExtractor::Extract(
for (KBestVec::const_iterator p = top->kBestList.begin();
p != top->kBestList.end(); ++p) {
const Derivation &d = **p;
- assert(d.edge->tail.size() == 1); // d should have exactly one predecessor.
+ assert(d.edge.tail.size() == 1); // d should have exactly one predecessor.
assert(d.backPointers.size() == 1);
std::size_t i = d.backPointers[0];
boost::shared_ptr<Derivation> pred = d.edge.tail[0]->kBestList[i];