diff options
Diffstat (limited to 'nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseEvolutionarySolver.java')
-rw-r--r-- | nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseEvolutionarySolver.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseEvolutionarySolver.java b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseEvolutionarySolver.java index e3db5d16fa2f..9d779afe7225 100644 --- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseEvolutionarySolver.java +++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseEvolutionarySolver.java @@ -168,7 +168,7 @@ public abstract class BaseEvolutionarySolver extends BaseNLPSolver { protected IEvolutionarySolverStatusDialog m_solverStatusDialog; - protected void prepareVariables(double[][] variableBounds) { + private void prepareVariables(double[][] variableBounds) { m_variables.clear(); for (int i = 0; i < m_variableCount; i++) { Variable var = new Variable(m_variableMap[i], i); @@ -342,7 +342,7 @@ public abstract class BaseEvolutionarySolver extends BaseNLPSolver { super.finalizeSolve(); } - protected boolean checkConstraints() { + private boolean checkConstraints() { boolean result = true; for (int i = 0; i < m_constraintCount && result; i++) { if (m_extConstraints[i].Left.getError() == 0) { |