diff Makefile @ 522:dad3d252462a multiprobeLSH

Fixed upper-limit (T) boundary error in MultiProbe::generatePerturbationSets(x, T). Setting this too high spins algorithm1 into infinite heap allocations without possiblity of terminating. This is now silently capped at --lsh_k * 2; the algorithm halts up to this threshold.
author mas01mc
date Tue, 27 Jan 2009 14:52:28 +0000
parents 237d5a03d317
children 469b50a3dd84
line wrap: on
line diff
--- a/Makefile	Tue Jan 27 03:49:19 2009 +0000
+++ b/Makefile	Tue Jan 27 14:52:28 2009 +0000
@@ -22,6 +22,9 @@
 # set to DUMP hashtables on QUERY load
 #override CFLAGS+=-DLSH_DUMP_CORE_TABLES
 
+# set to increase multiple probes in LSH QUERY (allowable range = 1 ... lsh_k*2)
+#override CFLAGS+=-DLSH_MULTI_PROBE_COUNT=10
+
 ifeq ($(shell uname),Linux)
 override CFLAGS+=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 endif