Skip to content

Commit

Permalink
cleaning this up
Browse files Browse the repository at this point in the history
  • Loading branch information
clementfarabet committed Apr 8, 2014
1 parent 427bf22 commit 9b827e7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 242 deletions.
2 changes: 1 addition & 1 deletion lshkit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ lshkit:
cp lshkit-0.2.1/build/src/liblshkit.so .

temp/luash.o: temp
$(CC) -c luash.cc -o $@ ${CFLAGS} ${INCLUDE}
$(CC) -c luash.cpp mplsh-fit-tune.cpp -o $@ ${CFLAGS} ${INCLUDE}

luash.so: temp/luash.o lshkit
$(CC) -shared -o $@ temp/luash.o
Expand Down
2 changes: 1 addition & 1 deletion lshkit/lshkit-0.2.1/include/lshkit/mplsh-model.h
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ class MultiProbeLshRecallTable
}
}

float lookup (float dist, int T)
float lookup (float dist, int T) const
{
unsigned d;
if (dist < min_) return 1.0;
Expand Down
238 changes: 0 additions & 238 deletions lshkit/luash.cc

This file was deleted.

4 changes: 2 additions & 2 deletions lshkit/mplsh-fit-tune.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

#include <cstdlib>
#include <gsl/gsl_multifit.h>
#include "lshkit.h"
#include <lshkit.h>

using namespace std;
using namespace lshkit;
using namespace tr1;

#include "lshkit/tune.h"
#include <lshkit/tune.h>

static const int MIN_L = 1;
static const int MAX_L = 20;
Expand Down

0 comments on commit 9b827e7

Please sign in to comment.