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:46:08 +0800 |
commit | 00fec992f5c760f546a1db933fb08325fc9cccbf (patch) | |
tree | 2a7ece48075d616b45cb199950d1dbadcc13f110 | |
parent | 65a7d9aa703484212766d712409340100c4a35eb (diff) | |
download | libpinyin-00fec992f5c760f546a1db933fb08325fc9cccbf.tar.gz libpinyin-00fec992f5c760f546a1db933fb08325fc9cccbf.tar.xz libpinyin-00fec992f5c760f546a1db933fb08325fc9cccbf.zip |
fixes import dict
-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; } |