diff --git a/include/xo/unit/Quantity.hpp b/include/xo/unit/Quantity.hpp index d3bed13c..c46552ea 100644 --- a/include/xo/unit/Quantity.hpp +++ b/include/xo/unit/Quantity.hpp @@ -149,7 +149,7 @@ namespace xo { if (rr.natural_unit_.is_dimensionless()) { r_repr_type r_scale = (static_cast(x.scale()) + (::sqrt(rr.outer_scale_sq_) - * rr.outer_scale_factor_.template to() + * rr.outer_scale_factor_.template convert_to() * static_cast(y.scale()))); return Quantity(r_scale, x.unit_.template to_repr()); @@ -176,7 +176,7 @@ namespace xo { if (rr.natural_unit_.is_dimensionless()) { r_repr_type r_scale = (static_cast(x.scale()) - (::sqrt(rr.outer_scale_sq_) - * rr.outer_scale_factor_.template to() + * rr.outer_scale_factor_.template convert_to() * static_cast(y.scale()))); return Quantity(r_scale, x.unit_.template to_repr());