Fix trivial errorprone warnings (NFC) (#6135)

This commit is contained in:
David Vo
2024-01-20 15:46:38 +11:00
committed by GitHub
parent d198605562
commit a274e297cd
22 changed files with 33 additions and 36 deletions

View File

@@ -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));
}
}