diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-11-23 00:27:46 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-11-23 00:27:46 +0400 |
commit | f13d0c824456b91fef2588261cbe52ce24c665ba (patch) | |
tree | 4c24ab4dff0c05840bcea2333ac522d9b956f7cf /moses/Util.h | |
parent | 028edf85501013ea06d575c67b5647f939f1f149 (diff) |
UTIL_THROW_IF -> UTIL_THROW_IF2
Diffstat (limited to 'moses/Util.h')
-rw-r--r-- | moses/Util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Util.h b/moses/Util.h index 3345dc3f3..3bba71332 100644 --- a/moses/Util.h +++ b/moses/Util.h @@ -315,7 +315,7 @@ inline float FloorScore(float logScore) inline float CalcTranslationScore(const std::vector<float> &probVector, const std::vector<float> &weightT) { - UTIL_THROW_IF(weightT.size() != probVector.size(), util::Exception, + UTIL_THROW_IF2(weightT.size() != probVector.size(), "Weight and score vector sizes not the same"); float rv=0.0; for(float const *sb=&probVector[0],*se=sb+probVector.size(),*wb=&weightT[0]; |