From e3ad54996f6bd3926c401674925376fc369b6e8d Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Sat, 26 Nov 2011 13:16:36 +0000 Subject: [PATCH] Compile fixes --- DataStructures/NNGrid.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/DataStructures/NNGrid.h b/DataStructures/NNGrid.h index 8a92b9273..d52bc3b4b 100644 --- a/DataStructures/NNGrid.h +++ b/DataStructures/NNGrid.h @@ -28,9 +28,6 @@ or see http://www.gnu.org/licenses/agpl.txt. #include #include #include -#ifdef _OPENMP -#include -#endif #ifdef _WIN32 #include @@ -152,14 +149,14 @@ static boost::thread_specific_ptr localStream; template class NNGrid { public: - NNGrid() /*: cellCache(500), fileCache(500)*/ { + NNGrid() { ramIndexTable.resize((1024*1024), UINT_MAX); if( WriteAccess) { entries = new stxxl::vector(); } } - NNGrid(const char* rif, const char* _i, unsigned numberOfThreads = omp_get_num_procs()) /*: cellCache(500), fileCache(500) */{ + NNGrid(const char* rif, const char* _i) { if(WriteAccess) { ERR("Not available in Write mode"); }