diff --git a/include/xo/unit/xquantity.hpp b/include/xo/unit/xquantity.hpp index cf22e13c..c0d3df78 100644 --- a/include/xo/unit/xquantity.hpp +++ b/include/xo/unit/xquantity.hpp @@ -156,7 +156,7 @@ namespace xo { return xquantity(r_scale, x.unit_.template to_repr()); } else { /* units don't match! */ - return xquantity(std::numeric_limits::quiet_NaN(), + return xquantity(std::numeric_limits::quiet_NaN(), x.unit_.template to_repr()); } } @@ -183,7 +183,7 @@ namespace xo { return xquantity(r_scale, x.unit_.template to_repr()); } else { /* units don't match! */ - return xquantity(std::numeric_limits::quiet_NaN(), + return xquantity(std::numeric_limits::quiet_NaN(), x.unit_.template to_repr()); } }