projects
/
platform
/
upstream
/
libpinyin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03dd49a
)
fixes import dict
author
Peng Wu
<alexepico@gmail.com>
Sat, 23 Mar 2013 01:52:46 +0000
(09:52 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Sat, 23 Mar 2013 03:10:02 +0000
(11:10 +0800)
src/storage/phrase_large_table2.h
patch
|
blob
|
history
diff --git
a/src/storage/phrase_large_table2.h
b/src/storage/phrase_large_table2.h
index 368d03ddbfe58a38e5e73bc942227ecf07666e96..34bb12d8df6a0cf2f9fdb917cd6e47994e67e397 100644
(file)
--- 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;
}