Skip to content

Commit 717351c

Browse files
committed
change definition of isArithmetic
1 parent ad56124 commit 717351c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/units/units.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ template <typename Q>
132132
concept isQuantity = requires(Q q) { quantityChecker(q); };
133133

134134
// isArithmetic concept
135-
template <typename Q>
136-
concept isArithmetic = std::is_arithmetic_v<Q> || isQuantity<Q>;
135+
template <typename T>
136+
concept isArithmetic = std::is_arithmetic_v<T>;
137137

138138
// Isomorphic concept - used to ensure unit equivalency
139139
template <typename Q, typename... Quantities>

0 commit comments

Comments
 (0)