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-10-03 19:58:47 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-10-03 19:58:47 +0400
commit73513c182dd3e12abf4a1df82a7e7808e3dfab83 (patch)
tree8451a9c41ca8e0d01e42f10109becfa9844a6fc6 /moses/InputPath.h
parent8ccc99a94712d2f650fb2d8a73bcc658b0aa93ec (diff)
correct creation of input paths for lattices
Diffstat (limited to 'moses/InputPath.h')
-rw-r--r--moses/InputPath.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/InputPath.h b/moses/InputPath.h
index 6ed1d3bc7..bef5e7744 100644
--- a/moses/InputPath.h
+++ b/moses/InputPath.h
@@ -2,7 +2,7 @@
#include <map>
#include <iostream>
-#include <list>
+#include <vector>
#include "Phrase.h"
#include "WordsRange.h"
#include "NonTerminal.h"
@@ -17,7 +17,7 @@ class TargetPhrase;
class InputPath;
struct ScorePair;
-typedef std::list<InputPath*> InputPathList;
+typedef std::vector<InputPath*> InputPathList;
/** Each node contains
1. substring used to searching the phrase table