forked from mpusz/mp-units
style: formatting fixed to make pre-commit happy
This commit is contained in:
@@ -527,10 +527,7 @@ template<QuantitySpec Lhs, detail::QuantityKindSpec Rhs>
|
|||||||
return is_same_v<Lhs, std::remove_const_t<decltype(remove_kind(rhs))>>;
|
return is_same_v<Lhs, std::remove_const_t<decltype(remove_kind(rhs))>>;
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] consteval QuantitySpec auto inverse(QuantitySpec auto q)
|
[[nodiscard]] consteval QuantitySpec auto inverse(QuantitySpec auto q) { return dimensionless / q; }
|
||||||
{
|
|
||||||
return dimensionless / q;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user