From e863592f40efb41eef11f1de09b1da59c0246611 Mon Sep 17 00:00:00 2001 From: Hieu Hoang Date: Mon, 4 Aug 2014 19:28:04 +0100 Subject: TargetPhrase to have pointer to the phrase table that creates it --- moses/TranslationOptionCollection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'moses/TranslationOptionCollection.cpp') diff --git a/moses/TranslationOptionCollection.cpp b/moses/TranslationOptionCollection.cpp index aed0fb62a..49fdc2987 100644 --- a/moses/TranslationOptionCollection.cpp +++ b/moses/TranslationOptionCollection.cpp @@ -231,7 +231,7 @@ void TranslationOptionCollection::ProcessOneUnknownWord(const InputPath &inputPa // modify the starting bitmap } - TargetPhrase targetPhrase; + TargetPhrase targetPhrase(NULL); if (!(staticData.GetDropUnknown() || isEpsilon) || isDigit) { // add to dictionary -- cgit v1.2.3