summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2018-01-29 15:00:42 +0800
committerPeng Wu <alexepico@gmail.com>2018-01-29 15:00:42 +0800
commitf4461b1f7687eba6ac95e8c995d0e3509adbb30d (patch)
tree67a97f9898f824d2139b1b1053882c6f35fe4280 /tests
parent813cedc202276fa6d4127446c4688d8a706c5ff5 (diff)
downloadlibpinyin-f4461b1f7687eba6ac95e8c995d0e3509adbb30d.tar.gz
libpinyin-f4461b1f7687eba6ac95e8c995d0e3509adbb30d.tar.xz
libpinyin-f4461b1f7687eba6ac95e8c995d0e3509adbb30d.zip
fixes compile
Diffstat (limited to 'tests')
-rw-r--r--tests/lookup/test_pinyin_lookup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lookup/test_pinyin_lookup.cpp b/tests/lookup/test_pinyin_lookup.cpp
index 6178b85..e3d6d1b 100644
--- a/tests/lookup/test_pinyin_lookup.cpp
+++ b/tests/lookup/test_pinyin_lookup.cpp
@@ -59,7 +59,7 @@ int main( int argc, char * argv[]){
gfloat lambda = system_table_info.get_lambda();
- PhoneticLookup<3> pinyin_lookup(lambda, &largetable, &phrase_index,
+ PhoneticLookup<3, 3> pinyin_lookup(lambda, &largetable, &phrase_index,
&system_bigram, &user_bigram);
/* prepare the prefixes for get_nbest_match. */