diff options
Diffstat (limited to 'moses/TranslationModel/UG/mmsapt.cpp')
-rw-r--r-- | moses/TranslationModel/UG/mmsapt.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/TranslationModel/UG/mmsapt.cpp b/moses/TranslationModel/UG/mmsapt.cpp index 1110bc16a..4fa53d0f4 100644 --- a/moses/TranslationModel/UG/mmsapt.cpp +++ b/moses/TranslationModel/UG/mmsapt.cpp @@ -811,9 +811,9 @@ namespace Moses Mmsapt:: setup_bias(ttasksptr const& ttask) { +#ifdef HAVE_XMLRPC_C // VERBOSE(2,"Setting up bias at " << HERE << std::endl); - SPTR<ContextScope> const& scope = ttask->GetScope(); SPTR<ContextForQuery> context = scope->get<ContextForQuery>(btfix.get(), true); if (context->bias) return; @@ -853,6 +853,7 @@ namespace Moses context->bias_log = m_bias_log; context->bias->loglevel = m_bias_loglevel; } +#endif } void |