Mercurial > hg > audiodb
changeset 753:9098b86f9847 malcolm-large-tracks
Adding mkc_lsh_update branch, trunk candidate with improved LSH: merged trunk 1095 and branch multiprobe_lsh
author | mas01mc |
---|---|
date | Thu, 25 Nov 2010 13:42:40 +0000 |
parents | f2e2d1ffcc4e |
children | |
files | Makefile create.cpp |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Sat Jan 10 19:01:01 2009 +0000 +++ b/Makefile Thu Nov 25 13:42:40 2010 +0000 @@ -18,7 +18,7 @@ MINORVERSION=0 LIBRARY=lib$(EXECUTABLE).so.$(SOVERSION).$(MINORVERSION) -override CFLAGS+=-O3 -g -fPIC +override CFLAGS+=-ggdb -g -fPIC ifeq ($(shell uname),Linux) override CFLAGS+=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
--- a/create.cpp Sat Jan 10 19:01:01 2009 +0000 +++ b/create.cpp Thu Nov 25 13:42:40 2010 +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 > 31 + #if LSH_N_POINT_BITS > 15 #error "AudioDB Compile ERROR: consistency check of O2_LSH_POINT_BITS failed (>31)" #endif - header->flags |= LSH_N_POINT_BITS << 27; + header->flags |= LSH_N_POINT_BITS << 28; // 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