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:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user