mirror of
https://github.com/apache/commons-math.git
synced 2025-02-08 19:15:18 +00:00
MATH-621
Layout. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1158755 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2b4bc7c5a9
commit
ed44e8213f
@ -1470,7 +1470,7 @@ public class BOBYQAOptimizer
|
||||
int iflag = 0;
|
||||
double cauchy = Double.NaN;
|
||||
double csave = ZERO;
|
||||
L100: for(;;) {
|
||||
while (true) {
|
||||
double wfixsq = ZERO;
|
||||
double ggfree = ZERO;
|
||||
for (int i = 0; i < n; i++) {
|
||||
@ -1518,7 +1518,8 @@ public class BOBYQAOptimizer
|
||||
ggfree > ZERO)) {
|
||||
break L120;
|
||||
}
|
||||
}} // end L120
|
||||
}
|
||||
} // end L120
|
||||
|
||||
// Set the remaining free components of W and all components of XALT,
|
||||
// except that W may be scaled later.
|
||||
@ -1586,8 +1587,9 @@ public class BOBYQAOptimizer
|
||||
csave = cauchy;
|
||||
iflag = 1;
|
||||
} else {
|
||||
break L100;
|
||||
}} // end L100
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (csave > cauchy) {
|
||||
for (int i = 0; i < n; i++) {
|
||||
xalt.setEntry(i, work2.getEntry(i));
|
||||
|
Loading…
x
Reference in New Issue
Block a user