Skip to content
Snippets Groups Projects
Commit cc30a6bd authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

cosmetics

parent 478adc76
No related branches found
No related tags found
No related merge requests found
Pipeline #6920 passed
...@@ -7,6 +7,7 @@ if(COMMAND cmake_policy) ...@@ -7,6 +7,7 @@ if(COMMAND cmake_policy)
cmake_policy(SET CMP0005 NEW) cmake_policy(SET CMP0005 NEW)
cmake_policy(SET CMP0003 NEW) cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy) endif(COMMAND cmake_policy)
# MAC OSX RPATH # MAC OSX RPATH
SET(CMAKE_MACOSX_RPATH 1) SET(CMAKE_MACOSX_RPATH 1)
......
...@@ -121,7 +121,7 @@ void ProcessorBase::link(SensorBasePtr _sen_ptr) ...@@ -121,7 +121,7 @@ void ProcessorBase::link(SensorBasePtr _sen_ptr)
void ProcessorBase::setProblem(ProblemPtr _problem) 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"; 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()) if (_problem == nullptr or _problem == this->getProblem())
return; return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment