parent
2ba76c2573
commit
bfa5b60eff
|
@ -1830,6 +1830,7 @@ public class Dfp implements RealFieldElement<Dfp> {
|
|||
for (int i = mant.length - 1; i >= 0; i--) {
|
||||
if (divisor.mant[i] > remainder[i]) {
|
||||
trialgood = true;
|
||||
break;
|
||||
}
|
||||
if (divisor.mant[i] < remainder[i]) {
|
||||
break;
|
||||
|
|
|
@ -190,6 +190,7 @@ public abstract class BaseMultiStartMultivariateOptimizer<PAIR>
|
|||
if ((min != null && s[k] < min[k]) || (max != null && s[k] > max[k])) {
|
||||
// reject the vector
|
||||
s = null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -300,10 +300,11 @@ public class SimpleRegression implements Serializable, UpdatingMultipleLinearReg
|
|||
(x == null) ? 0 : x.length,
|
||||
(y == null) ? 0 : y.length);
|
||||
}
|
||||
boolean obsOk=true;
|
||||
boolean obsOk = true;
|
||||
for( int i = 0 ; i < x.length; i++){
|
||||
if( x[i] == null || x[i].length == 0 ){
|
||||
obsOk = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if( !obsOk ){
|
||||
|
|
Loading…
Reference in New Issue