mirror of
https://github.com/apache/commons-math.git
synced 2025-02-08 19:15:18 +00:00
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:
parent
5eb18d2ef6
commit
f228eb6233
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user