diff --git a/src/core/include/units/magnitude.h b/src/core/include/units/magnitude.h index 4e10452c..6d4a17bd 100644 --- a/src/core/include/units/magnitude.h +++ b/src/core/include/units/magnitude.h @@ -223,9 +223,10 @@ template } } -[[nodiscard]] consteval auto inverse(MagnitudeSpec auto el) +template +[[nodiscard]] consteval auto inverse(M) { - return power_v_or_T(); + return power_v_or_T(); } // `widen_t` gives the widest arithmetic type in the same category, for intermediate computations.