Fix incorrect assertion comment

This commit is contained in:
Chris Thrasher 2023-10-09 00:07:42 -06:00
parent 39da2b829c
commit ffe9cc0671

View File

@ -215,7 +215,7 @@ constexpr float operator/(Angle left, Angle right)
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
constexpr Angle operator%(Angle left, Angle right) constexpr Angle operator%(Angle left, Angle right)
{ {
assert(right.asDegrees() != 0 && "Angle::operator% cannot divide by 0"); assert(right.asDegrees() != 0 && "Angle::operator% cannot modulus by 0");
return degrees(priv::positiveRemainder(left.asDegrees(), right.asDegrees())); return degrees(priv::positiveRemainder(left.asDegrees(), right.asDegrees()));
} }