summaryrefslogtreecommitdiff
path: root/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/goodness/BCHComparator.java
diff options
context:
space:
mode:
Diffstat (limited to 'nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/goodness/BCHComparator.java')
-rw-r--r--nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/goodness/BCHComparator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/goodness/BCHComparator.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/goodness/BCHComparator.java
index 695fb6fe8894..0337b2415e7f 100644
--- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/goodness/BCHComparator.java
+++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/goodness/BCHComparator.java
@@ -30,7 +30,7 @@ public class BCHComparator implements IGoodnessCompareEngine {
/* check the magnitude of two array, the frontial is more important
**/
- public static int compareArray(double[] fit1, double[] fit2) {
+ private static int compareArray(double[] fit1, double[] fit2) {
for (int i=0; i<fit1.length; i++) {
if (fit1[i]>fit2[i]) {
return LARGER_THAN; //Large than