diff options
author | Peng Wu <alexepico@gmail.com> | 2013-03-23 09:52:46 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-03-23 11:10:02 +0800 |
commit | ffc216e482fea1063fa451ccbff41d755486aceb (patch) | |
tree | c4a5acdefc1c2eaab56e68e038fcf0366f62154b /src/storage/phrase_large_table2.h | |
parent | 03dd49a058f514adbf1b2ec733048dfb3c90e957 (diff) | |
download | libpinyin-ffc216e482fea1063fa451ccbff41d755486aceb.tar.gz libpinyin-ffc216e482fea1063fa451ccbff41d755486aceb.tar.xz libpinyin-ffc216e482fea1063fa451ccbff41d755486aceb.zip |
fixes import dict
Diffstat (limited to 'src/storage/phrase_large_table2.h')
-rw-r--r-- | src/storage/phrase_large_table2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/phrase_large_table2.h b/src/storage/phrase_large_table2.h index 368d03d..34bb12d 100644 --- a/src/storage/phrase_large_table2.h +++ b/src/storage/phrase_large_table2.h @@ -133,7 +133,7 @@ static inline int reduce_tokens(const PhraseTokens tokens, } /* the following line will be removed in future after code are verified. */ - assert(0 == num || 1 == num); + assert(0 <= num && num <= 3); return num; } |