diff --git a/src/core/include/mp-units/framework/representation_concepts.h b/src/core/include/mp-units/framework/representation_concepts.h index 384479a7..9bcb0431 100644 --- a/src/core/include/mp-units/framework/representation_concepts.h +++ b/src/core/include/mp-units/framework/representation_concepts.h @@ -75,13 +75,12 @@ template concept WeaklyRegular = std::copyable && std::equality_comparable; template -concept Scalar = (!disable_scalar) && WeaklyRegular && requires(T a, T b) { - // scalar operations +concept Scalar = (!disable_scalar) && WeaklyRegular && requires(T a, T b, T c) { { -a } -> std::common_with; { a + b } -> std::common_with; { a - b } -> std::common_with; - { a* b } -> std::common_with; - { a / b } -> std::common_with; + { a* b / c } -> std::common_with; + { a / b* c } -> std::common_with; }; namespace real_impl {