diff --git a/src/include/units/bits/root.h b/src/include/units/bits/root.h index cf064a60..6ae24383 100644 --- a/src/include/units/bits/root.h +++ b/src/include/units/bits/root.h @@ -73,7 +73,7 @@ template requires gt_zero [[nodiscard]] std::intmax_t iroot_runtime(std::intmax_t v) noexcept { - return iroot_impl(v, [](double x, double exponent) { + return iroot_impl(v, [](double x, [[maybe_unused]] double exponent) { if constexpr (N == 2) { return std::sqrt(x); } else if constexpr (N == 3) {