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:
Diffstat (limited to 'moses/TranslationOptionCollection.cpp')
-rw-r--r--moses/TranslationOptionCollection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/TranslationOptionCollection.cpp b/moses/TranslationOptionCollection.cpp
index ae9ef6817..1e3ef9045 100644
--- a/moses/TranslationOptionCollection.cpp
+++ b/moses/TranslationOptionCollection.cpp
@@ -626,12 +626,12 @@ CacheLexReordering()
{
size_t const stop = m_source.GetSize();
typedef StatefulFeatureFunction sfFF;
- BOOST_FOREACH(sfFF const* ff, sfFF::GetStatefulFeatureFunctions())
+ BOOST_FOREACH(sfFF const* ff, sfFF::GetStatefulFeatureFunctions())
{
if (typeid(*ff) != typeid(LexicalReordering)) continue;
LexicalReordering const& lr = static_cast<const LexicalReordering&>(*ff);
- for (size_t s = 0 ; s < stop ; s++)
- BOOST_FOREACH(TranslationOptionList& tol, m_collection[s])
+ for (size_t s = 0 ; s < stop ; s++)
+ BOOST_FOREACH(TranslationOptionList& tol, m_collection[s])
lr.SetCache(tol);
}
}