diff --git a/include/xo/unit/Quantity.hpp b/include/xo/unit/Quantity.hpp index 795e2795..2d4aa352 100644 --- a/include/xo/unit/Quantity.hpp +++ b/include/xo/unit/Quantity.hpp @@ -98,7 +98,7 @@ namespace xo { using r_int2x_type = std::common_type_t; - auto rr = detail::nu_product(x.unit(), y.unit()); + auto rr = detail::su_product(x.unit(), y.unit()); r_repr_type r_scale = (::sqrt(rr.outer_scale_sq_) * rr.outer_scale_exact_.template to() diff --git a/include/xo/unit/scaled_unit.hpp b/include/xo/unit/scaled_unit.hpp index 41cd4d7e..3b506b46 100644 --- a/include/xo/unit/scaled_unit.hpp +++ b/include/xo/unit/scaled_unit.hpp @@ -102,7 +102,7 @@ namespace xo { template > constexpr scaled_unit - nu_product(const natural_unit & lhs_bpu_array, + su_product(const natural_unit & lhs_bpu_array, const natural_unit & rhs_bpu_array) { natural_unit prod = lhs_bpu_array.template to_repr(); @@ -167,7 +167,7 @@ namespace xo { operator* (const scaled_unit & x_unit, const scaled_unit & y_unit) { - auto rr = detail::nu_product(x_unit.natural_unit_, + auto rr = detail::su_product(x_unit.natural_unit_, y_unit.natural_unit_); return (scaled_unit diff --git a/utest/unit.test.cpp b/utest/unit.test.cpp index 458a15a2..41149b4a 100644 --- a/utest/unit.test.cpp +++ b/utest/unit.test.cpp @@ -41,7 +41,7 @@ namespace xo { using xo::qty::detail::bpu2_product; using xo::qty::natural_unit; using xo::qty::bpu_array_maker; - using xo::qty::detail::nu_product; + using xo::qty::detail::su_product; using xo::qty::detail::nu_bpu_product; using xo::qty::detail::nu_ratio_inplace; using xo::qty::detail::su_ratio; @@ -729,7 +729,7 @@ namespace xo { static_assert(w.n_bpu() == 1); - constexpr auto prod_rr = nu_product(v, w); + constexpr auto prod_rr = su_product(v, w); log && log(xtag("prod_rr.bpu_array", prod_rr.natural_unit_)); log && log(xtag("prod_rr.outer_scale_exact", prod_rr.outer_scale_exact_));