X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2FMathLib.java;fp=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2FMathLib.java;h=50cdd91d8376d6f905d4cf3b7be0368ae000d56f;hp=5269304da12d926bb211dd6d69f4050c2a74e30e;hb=150f450f2b4f9e6094d71007507a7b877e05328a;hpb=9ca89e45fa84b2ec93bc6adf60c7dde1e0a7defb diff --git a/src/org/usfirst/frc/team3501/robot/MathLib.java b/src/org/usfirst/frc/team3501/robot/MathLib.java index 5269304..50cdd91 100644 --- a/src/org/usfirst/frc/team3501/robot/MathLib.java +++ b/src/org/usfirst/frc/team3501/robot/MathLib.java @@ -92,7 +92,7 @@ public class MathLib { } } - public static double limitValue(double val, double max, double min) { + public static double limitValue(double val, double min, double max) { if (val > max) { return max; } else if (val < min) {