removed unneeded @SuppressWarning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1084598 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
22421b80fd
commit
2cc5012409
|
@ -144,7 +144,6 @@ public class SimplexOptimizer
|
||||||
if (iteration > 0) {
|
if (iteration > 0) {
|
||||||
boolean converged = true;
|
boolean converged = true;
|
||||||
for (int i = 0; i < simplex.getSize(); i++) {
|
for (int i = 0; i < simplex.getSize(); i++) {
|
||||||
@SuppressWarnings("null") // Cannot be null when iteration > 0
|
|
||||||
RealPointValuePair prev = previous[i];
|
RealPointValuePair prev = previous[i];
|
||||||
converged &= checker.converged(iteration, prev, simplex.getPoint(i));
|
converged &= checker.converged(iteration, prev, simplex.getPoint(i));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue