mirror of
https://github.com/apache/commons-math.git
synced 2025-02-06 01:59:13 +00:00
Removed unecessary parens around return value. JIRA: MATH-609.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1145746 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fecbf23419
commit
85cb7a8d48
@ -183,8 +183,8 @@ public class LaguerreSolver extends AbstractPolynomialSolver {
|
||||
public boolean isRoot(double min, double max, Complex z) {
|
||||
if (isSequence(min, z.getReal(), max)) {
|
||||
double tolerance = FastMath.max(getRelativeAccuracy() * z.abs(), getAbsoluteAccuracy());
|
||||
return ((FastMath.abs(z.getImaginary()) <= tolerance) ||
|
||||
(z.abs() <= getFunctionValueAccuracy()));
|
||||
return (FastMath.abs(z.getImaginary()) <= tolerance) ||
|
||||
(z.abs() <= getFunctionValueAccuracy());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user