Skip to content

Commit 4864f14

Browse files
committed
mod does not require isomorphic
1 parent e39317e commit 4864f14

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

include/units/units.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,7 @@ template <isQuantity Q, isQuantity R> constexpr Q hypot(const Q& lhs, const R& r
461461
return Q(std::hypot(lhs.internal(), rhs.internal()));
462462
}
463463

464-
template <isQuantity Q, isQuantity R> constexpr Q mod(const Q& lhs, const R& rhs)
465-
requires Isomorphic<Q, R>
466-
{
464+
template <isQuantity Q, isQuantity R> constexpr Q mod(const Q& lhs, const R& rhs) {
467465
return Q(std::fmod(lhs.internal(), rhs.internal()));
468466
}
469467

0 commit comments

Comments
 (0)