Skip to content

Commit

Permalink
change definition of isArithmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
SizzinSeal committed Jan 7, 2025
1 parent ad56124 commit 717351c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/units/units.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ template <typename Q>
concept isQuantity = requires(Q q) { quantityChecker(q); };

// isArithmetic concept
template <typename Q>
concept isArithmetic = std::is_arithmetic_v<Q> || isQuantity<Q>;
template <typename T>
concept isArithmetic = std::is_arithmetic_v<T>;

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

0 comments on commit 717351c

Please sign in to comment.