diff --git a/edo/src/edoRepairerRound.h b/edo/src/edoRepairerRound.h index c370a03c..a882021c 100644 --- a/edo/src/edoRepairerRound.h +++ b/edo/src/edoRepairerRound.h @@ -86,7 +86,11 @@ public: typedef typename EOT::AtomType ArgType; //! Generally speaking, we expect decimals being <= 1, but it can work for higher values - edoRepairerRoundDecimals( ArgType decimals ) : edoRepairerApplyBinary( edoRound, 1 / decimals ) {} + edoRepairerRoundDecimals( ArgType decimals ) : edoRepairerApplyBinary( edoRound, 1 / decimals ) + { + assert( decimals <= 1.0 ); + assert( 1/decimals >= 1.0 ); + } }; diff --git a/edo/src/edoSamplerNormalMulti.h b/edo/src/edoSamplerNormalMulti.h index a017d493..e0516685 100644 --- a/edo/src/edoSamplerNormalMulti.h +++ b/edo/src/edoSamplerNormalMulti.h @@ -29,6 +29,7 @@ Authors: #define _edoSamplerNormalMulti_h #include +#include #include #include @@ -47,8 +48,6 @@ class edoSamplerNormalMulti : public edoSampler< EOD > public: typedef typename EOT::AtomType AtomType; - - edoSamplerNormalMulti( edoRepairer & repairer, typename Cholesky::Method use = Cholesky::absolute ) : edoSampler< EOD >( repairer), _cholesky(use) {} diff --git a/eo/CMakeLists.txt b/eo/CMakeLists.txt index d7ef8558..99536ba5 100644 --- a/eo/CMakeLists.txt +++ b/eo/CMakeLists.txt @@ -16,7 +16,7 @@ INCLUDE(eo-conf.cmake OPTIONAL) PROJECT(EO) # CMake > 2.8 is needed, because of the FindOpenMP feature -cmake_minimum_required(VERSION 2.8) +#cmake_minimum_required(VERSION 2.8) #SET(PROJECT_VERSION_MAJOR 1) #SET(PROJECT_VERSION_MINOR 1)