1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-09-03 22:39:56 +00:00

Add missing parens

This commit is contained in:
Ann Priestman
2018-05-02 09:54:50 -04:00
parent c1ecc34773
commit 62a6e4e3eb

View File

@@ -563,7 +563,7 @@ class TimingMetricGraphPanel extends JPanel {
*/
double getXGivenY(double y) throws HealthMonitorException {
if (slope != 0.0) {
return (y - yInt / slope);
return ((y - yInt) / slope);
} else {
throw new HealthMonitorException("Attempted division by zero in trend line calculation");
}