diff --git a/Core/src/org/sleuthkit/autopsy/healthmonitor/TimingMetricGraphPanel.java b/Core/src/org/sleuthkit/autopsy/healthmonitor/TimingMetricGraphPanel.java index 0e0b63b7a5..907be0df96 100644 --- a/Core/src/org/sleuthkit/autopsy/healthmonitor/TimingMetricGraphPanel.java +++ b/Core/src/org/sleuthkit/autopsy/healthmonitor/TimingMetricGraphPanel.java @@ -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"); }