Skip to content

Commit 1db5e6a

Browse files
Formatting fixes
1 parent 74c8819 commit 1db5e6a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

wpimath/src/main/native/include/frc/MathUtil.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,7 @@ constexpr bool IsNear(T expected, T actual, T tolerance, T min, T max) {
165165
*/
166166
WPILIB_DLLEXPORT
167167
constexpr units::radian_t AngleModulus(units::radian_t angle) {
168-
return InputModulus<units::radian_t>(angle,
169-
-1_pi_rad,
170-
1_pi_rad);
168+
return InputModulus<units::radian_t>(angle, -1_pi_rad, 1_pi_rad);
171169
}
172170

173171
// floorDiv and floorMod algorithms taken from Java

0 commit comments

Comments
 (0)