xo-unit: streamline: nu_maker.make_bpu_array -> make_nu
This commit is contained in:
parent
1f372d64ad
commit
efc4623492
1 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ namespace xo {
|
|||
struct nu_maker {
|
||||
template <typename... Ts>
|
||||
static constexpr natural_unit<Int>
|
||||
make_bpu_array(Ts... args) {
|
||||
make_nu(Ts... args) {
|
||||
natural_unit<Int> bpu_array;
|
||||
detail::push_bpu_array(&bpu_array, args...);
|
||||
return bpu_array;
|
||||
|
|
@ -64,7 +64,7 @@ namespace xo {
|
|||
constexpr natural_unit() : n_bpu_{0} {}
|
||||
|
||||
static constexpr natural_unit from_bu(basis_unit bu) {
|
||||
return nu_maker<Int>::make_bpu_array(make_unit_power<Int>(bu));
|
||||
return nu_maker<Int>::make_nu(make_unit_power<Int>(bu));
|
||||
}
|
||||
|
||||
constexpr std::size_t n_bpu() const { return n_bpu_; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue