Skip to content

Commit

Permalink
Fix Clang indentation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Jul 1, 2024
1 parent 4a7fd04 commit 93e7b09
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions include/Sieve.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,17 +130,17 @@ class Sieve
if (start > stop)
return 0;

#if defined(ENABLE_ARM_SVE)
return count_arm_sve(start, stop);
#elif defined(ENABLE_AVX512_BMI2)
return count_avx512_bmi2(start, stop);
#elif defined(ENABLE_MULTIARCH_ARM_SVE)
return cpu_supports_sve ? count_arm_sve(start, stop) : count_default(start, stop);
#elif defined(ENABLE_MULTIARCH_AVX512_BMI2)
return cpu_supports_avx512_bmi2 ? count_avx512_bmi2(start, stop) : count_default(start, stop);
#else
return count_default(start, stop);
#endif
#if defined(ENABLE_ARM_SVE)
return count_arm_sve(start, stop);
#elif defined(ENABLE_AVX512_BMI2)
return count_avx512_bmi2(start, stop);
#elif defined(ENABLE_MULTIARCH_ARM_SVE)
return cpu_supports_sve ? count_arm_sve(start, stop) : count_default(start, stop);
#elif defined(ENABLE_MULTIARCH_AVX512_BMI2)
return cpu_supports_avx512_bmi2 ? count_avx512_bmi2(start, stop) : count_default(start, stop);
#else
return count_default(start, stop);
#endif
}

private:
Expand Down

0 comments on commit 93e7b09

Please sign in to comment.