diff --git a/src/blockforest/loadbalancing/DynamicCurve.h b/src/blockforest/loadbalancing/DynamicCurve.h index 135ce94619a865c8efc977985d4c20eae45237b4..9bd79b5364a39a6edeb6e86329db7156ebe6af57 100644 --- a/src/blockforest/loadbalancing/DynamicCurve.h +++ b/src/blockforest/loadbalancing/DynamicCurve.h @@ -719,7 +719,7 @@ void DynamicCurveBalance< PhantomData_T >::mortonOrderWeighted( const std::vecto } } -#if defined(_OPENMP) && (__INTEL_COMPILER != 1800) // Disable OpenMP for Intel 2018 due to a bug +#if defined(_OPENMP) && ((__INTEL_COMPILER < 1800) || (__INTEL_COMPILER > 1900)) // Disable OpenMP for Intel 2018/2019 due to a bug #pragma omp parallel for schedule(static) #endif for( int i = 0; i < int_c( blocksPerLevel.size() ); ++i )