diff options
Diffstat (limited to 'moses/TranslationModel/DynSAInclude/onlineRLM.h')
-rw-r--r-- | moses/TranslationModel/DynSAInclude/onlineRLM.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/TranslationModel/DynSAInclude/onlineRLM.h b/moses/TranslationModel/DynSAInclude/onlineRLM.h index 929602399..cd9ed8a87 100644 --- a/moses/TranslationModel/DynSAInclude/onlineRLM.h +++ b/moses/TranslationModel/DynSAInclude/onlineRLM.h @@ -148,8 +148,8 @@ int OnlineRLM<T>::query(const wordID_t* IDs, int len) //markQueried(hpdItr); // mark this event as "hit" value -= ((value & this->hitMask_) != 0) ? this->hitMask_ : 0; // check for previous hit marks } else { - UTIL_THROW_IF2(filterIdx >= this->cells_, - "Out of bound: " << filterIdx); + UTIL_THROW_IF2(filterIdx >= this->cells_, + "Out of bound: " << filterIdx); //markQueried(filterIdx); } } @@ -341,7 +341,7 @@ const void* OnlineRLM<T>::getContext(const wordID_t* ngram, int len) int dummy(0); float**addresses = new float*[len]; // only interested in addresses of cache UTIL_THROW_IF2(cache_->getCache2(ngram, len, &addresses[0], &dummy) != len, - "Error"); + "Error"); // return address of cache node float *addr0 = addresses[0]; |