# HG changeset patch # User mas01mc # Date 1216749844 0 # Node ID 40dca0cbbffdf8f087c88cfd65660a0250a50c76 # Parent 9127c33326f8fad66a5215ce054b2e718efbbaf7 slight modification of LSH point_set testing diff -r 9127c33326f8 -r 40dca0cbbffd tests/pointset_test/genpoints2.c --- a/tests/pointset_test/genpoints2.c Thu Jul 17 14:43:42 2008 +0000 +++ b/tests/pointset_test/genpoints2.c Tue Jul 22 18:04:04 2008 +0000 @@ -66,7 +66,7 @@ // Save single feature vector char name[40]; if(i < count) - snprintf(name, 39, "testfeature%d", i); + snprintf(name, 39, i<10?"testfeature0%d":"testfeature%d", i); else snprintf(name, 39, "queryfeature"); /* assumes $PWD is right */ diff -r 9127c33326f8 -r 40dca0cbbffd tests/pointset_test/run-test.sh --- a/tests/pointset_test/run-test.sh Thu Jul 17 14:43:42 2008 +0000 +++ b/tests/pointset_test/run-test.sh Tue Jul 22 18:04:04 2008 +0000 @@ -57,7 +57,7 @@ do R_SQ=`echo "scale=6; $j^2" | bc` ${AUDIODB} -d testdb -X -R ${R_SQ} -l 1 --lsh_N ${LSH_N} \ - --lsh_b ${LSH_N} --lsh_k ${LSH_K} --lsh_m ${LSH_M} --lsh_w ${W} \ + --lsh_b ${LSH_N} --lsh_k ${LSH_K} --lsh_m ${LSH_M} --lsh_w ${W} --lsh_ncols 1000 \ --absolute-threshold -1 --no_unit_norming done fi