Cleared "FindBugs" warnings.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1509234 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gilles Sadowski 2013-08-01 13:48:57 +00:00
parent 5eb18d2ef6
commit f228eb6233

View File

@ -90,13 +90,12 @@ public class SymmetricGaussIntegrator extends GaussIntegrator {
s = t;
}
if (ruleLength % 2 == 1) {
if (ruleLength % 2 != 0) {
final double w = getWeight(iMax);
final double y = w * f.value(0d) - c;
final double t = s + y;
c = (t - s) - y;
s = t;
}