xo-unit: refactor: c_basis_power<> -> basis_power<>
This commit is contained in:
parent
bb5fc1cb4e
commit
7c7373427e
6 changed files with 69 additions and 32 deletions
|
|
@ -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_; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue