mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-07 14:14:27 +02:00
Satisfy complaint
This line shouldn't _actually_ ever be reachable, but I can't fault the compiler for not figuring that out.
This commit is contained in:
@@ -131,6 +131,8 @@ struct WheelFactorizer {
|
|||||||
if (const auto k = first_factor_maybe(n, wheel + p)) { return *k; }
|
if (const auto k = first_factor_maybe(n, wheel + p)) { return *k; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return n;
|
||||||
}
|
}
|
||||||
|
|
||||||
static constexpr bool is_prime(std::size_t n) {
|
static constexpr bool is_prime(std::size_t n) {
|
||||||
|
Reference in New Issue
Block a user