xo-unit: refactor: c_basis_power<> -> basis_power<>

This commit is contained in:
Roland Conybeare 2024-04-03 17:24:55 -04:00
commit 7c7373427e
6 changed files with 69 additions and 32 deletions

View file

@ -63,7 +63,7 @@ namespace xo {
* q.basis_power<dim::mass> -> 0
**/
template <dim BasisDim, typename PowerRepr = int>
static constexpr PowerRepr c_basis_power = from_ratio<PowerRepr, typename find_bpu_t<BasisDim>::power_type>();
static constexpr PowerRepr basis_power = from_ratio<PowerRepr, typename find_bpu_t<BasisDim>::power_type>();
/** @brief get scale value (relative to unit) (@ref scale_) **/
constexpr Repr scale() const { return scale_; }