diff --git a/.clang-tidy b/.clang-tidy index ffa632653609ae4007c0c60e1a2e062bc263ce2a..21a6a936b8e7054bd05acfcc30b588f3dd83c5d9 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -42,6 +42,7 @@ readability-misplaced-array-index, readability-redundant-control-flow, readability-redundant-declaration, readability-redundant-function-ptr-dereference, +readability-redundant-preprocessor, readability-redundant-smartptr-get, readability-redundant-string-cstr, readability-simplify-subscript-expr, diff --git a/src/core/load_balancing/MetisWrapper.cpp b/src/core/load_balancing/MetisWrapper.cpp index a3d89aaec14ed6259e8c754aecc18386ab3ea766..6ea1bded21e7691456976c0c9b341dacfef82f7e 100644 --- a/src/core/load_balancing/MetisWrapper.cpp +++ b/src/core/load_balancing/MetisWrapper.cpp @@ -54,9 +54,7 @@ # endif #endif -#ifdef WALBERLA_BUILD_WITH_METIS -# include "metis.h" -#endif +#include "metis.h" #ifdef _MSC_VER # pragma pop_macro( "INT64_MAX" ) @@ -185,4 +183,4 @@ const int METIS_OPTION_UBVEC = 0; } // namespace core -} // namespace walberla \ No newline at end of file +} // namespace walberla