mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Fix trivial errorprone warnings (NFC) (#6135)
This commit is contained in:
@@ -80,7 +80,7 @@ public final class StateSpaceUtil {
|
||||
if (tolerances.get(i, 0) == Double.POSITIVE_INFINITY) {
|
||||
result.set(i, i, 0.0);
|
||||
} else {
|
||||
result.set(i, i, 1.0 / (Math.pow(tolerances.get(i, 0), 2)));
|
||||
result.set(i, i, 1.0 / Math.pow(tolerances.get(i, 0), 2));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user