# HG changeset patch # User mas01mc # Date 1231614061 0 # Node ID f2e2d1ffcc4eb8f600e199a3e24edae2b60f6b90 # Parent 342822c2d49a0c8213426a8537ce13c873af500e Changed LSH_N_POINTS_BIT header field to a width of 5 bits diff -r 342822c2d49a -r f2e2d1ffcc4e create.cpp --- a/create.cpp Sat Jan 10 16:47:57 2009 +0000 +++ b/create.cpp Sat Jan 10 19:01:01 2009 +0000 @@ -82,11 +82,11 @@ // For backward-compatibility, Record the point-encoding parameter for LSH indexing in the adb header // If this value is 0 then it will be set to 14 - #if LSH_N_POINT_BITS > 15 + #if LSH_N_POINT_BITS > 31 #error "AudioDB Compile ERROR: consistency check of O2_LSH_POINT_BITS failed (>31)" #endif - header->flags |= LSH_N_POINT_BITS << 28; + header->flags |= LSH_N_POINT_BITS << 27; // If database will fit in a single file the vectors are copied into the AudioDB instance // Else all the vectors are left on the FileSystem and we use the dataOffset as storage