diff options
author | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2012-04-29 17:19:18 +0200 |
---|---|---|
committer | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2012-04-29 17:19:18 +0200 |
commit | 1c0b252dfa0169eef0a4bdb7442d433b2bf8c1c7 (patch) | |
tree | ead6df22bd9dccb6566341e12af6ec4c46b27631 /utils/dict.h | |
parent | 70585a59a738d0148ed2da90252050f4d86f4a22 (diff) |
reverted changes in upstream
Diffstat (limited to 'utils/dict.h')
-rw-r--r-- | utils/dict.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/dict.h b/utils/dict.h index a3400868..595e4f9f 100644 --- a/utils/dict.h +++ b/utils/dict.h @@ -73,7 +73,7 @@ class Dict { inline const std::string& Convert(const WordID& id) const { if (id == 0) return b0_; assert(id <= (int)words_.size()); - //if (id < 0 || id > (int)words_.size()) return b0_; + if (id < 0 || id > (int)words_.size()) return b0_; return words_[id-1]; } |