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"); }