diff --git a/CMakeLists.txt b/CMakeLists.txt
index 599d7d8773e383fe7855a47e026d73743cf0e1fe..e01bf02de0b028e1e1e5459b1874600f31244768 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,6 +7,7 @@ if(COMMAND cmake_policy)
   cmake_policy(SET CMP0005 NEW)
   cmake_policy(SET CMP0003 NEW)
 endif(COMMAND cmake_policy)
+
 # MAC OSX RPATH
 SET(CMAKE_MACOSX_RPATH 1)
 
diff --git a/src/processor/processor_base.cpp b/src/processor/processor_base.cpp
index 794699f4533a7d2f5e6271e8f31b05b0b36cbd69..28963ed644aacd240d2d01a0bb23e6280dc6619a 100644
--- a/src/processor/processor_base.cpp
+++ b/src/processor/processor_base.cpp
@@ -121,7 +121,7 @@ void ProcessorBase::link(SensorBasePtr _sen_ptr)
 void ProcessorBase::setProblem(ProblemPtr _problem)
 {
     std::string str = "Processor works with " + std::to_string(dim_) + "D but problem is " + std::to_string(_problem->getDim()) + "D";
-    assert((dim_ == 0 or dim_ == _problem->getDim()) && str.c_str());
+    assert(((dim_ == 0) or (dim_ == _problem->getDim())) && str.c_str());
 
     if (_problem == nullptr or _problem == this->getProblem())
         return;