diff --git a/adelie/src/include/adelie_core/util/omp.hpp b/adelie/src/include/adelie_core/util/omp.hpp index 45a0b4da..197304d7 100644 --- a/adelie/src/include/adelie_core/util/omp.hpp +++ b/adelie/src/include/adelie_core/util/omp.hpp @@ -51,9 +51,6 @@ inline void omp_parallel_for( } else if constexpr (schedule_type == util::omp_schedule_type::_runtime) { #pragma omp parallel for schedule(runtime) num_threads(n_threads) for (Eigen::Index i = begin; i < end; ++i) f(i); - } else if constexpr (schedule_type == util::omp_schedule_type::_auto) { - #pragma omp parallel for schedule(auto) num_threads(n_threads) - for (Eigen::Index i = begin; i < end; ++i) f(i); } else { // dummy check since we cannot put "false" (early compiler error) static_assert(schedule_type == util::omp_schedule_type::_static, "Unrecognized schedule type."); diff --git a/adelie/src/include/adelie_core/util/types.hpp b/adelie/src/include/adelie_core/util/types.hpp index 5aae4c64..0dd7079a 100644 --- a/adelie/src/include/adelie_core/util/types.hpp +++ b/adelie/src/include/adelie_core/util/types.hpp @@ -89,8 +89,7 @@ enum class omp_schedule_type _static, _dynamic, _guided, - _runtime, - _auto + _runtime }; inline screen_rule_type convert_screen_rule(