diff --git a/src/core/include/mp-units/quantity_spec.h b/src/core/include/mp-units/quantity_spec.h index d2e29501..2adafe91 100644 --- a/src/core/include/mp-units/quantity_spec.h +++ b/src/core/include/mp-units/quantity_spec.h @@ -527,10 +527,7 @@ template return is_same_v>; } -[[nodiscard]] consteval QuantitySpec auto inverse(QuantitySpec auto q) -{ - return dimensionless / q; -} +[[nodiscard]] consteval QuantitySpec auto inverse(QuantitySpec auto q) { return dimensionless / q; } /** diff --git a/src/systems/isq/include/mp-units/systems/isq/space_and_time.h b/src/systems/isq/include/mp-units/systems/isq/space_and_time.h index e93f152c..c60be5fd 100644 --- a/src/systems/isq/include/mp-units/systems/isq/space_and_time.h +++ b/src/systems/isq/include/mp-units/systems/isq/space_and_time.h @@ -80,6 +80,6 @@ QUANTITY_SPEC(attenuation, inverse(distance)); inline constexpr auto extinction = attenuation; QUANTITY_SPEC(phase_coefficient, phase_angle / path_length); QUANTITY_SPEC(propagation_coefficient, inverse(length)); // γ = α + iβ where α denotes attenuation - // and β the phase coefficient of a plane wave + // and β the phase coefficient of a plane wave } // namespace mp_units::isq