diff lshlib.h @ 524:469b50a3dd84 multiprobeLSH

Fixed a bug in LSH hashtable writing to disk that doesn't always sort the t2 entries into strict weak ordering. Now it does. Lots of debugging informational code inserted.
author mas01mc
date Wed, 28 Jan 2009 16:02:17 +0000
parents 83e37b76b483
children 11dd6eab15c8
line wrap: on
line diff
--- a/lshlib.h	Wed Jan 28 05:18:14 2009 +0000
+++ b/lshlib.h	Wed Jan 28 16:02:17 2009 +0000
@@ -94,7 +94,7 @@
 #define WRITE_UNS32(VAL, TOKENSTR) if( fwrite(VAL, sizeof(Uns32T), 1, dbFile) != 1 ){\
   fclose(dbFile);error("write error in serial_write_format2",TOKENSTR);}	
 
-#define LSH_DUMP_CORE_TABLES  // set to dump hashtables on load
+//#define LSH_DUMP_CORE_TABLES  // set to dump hashtables on load
 #define _LSH_DEBUG_             // turn on debugging information
 
 //#define USE_U_FUNCTIONS       // set to use partial hashfunction re-use