summaryrefslogtreecommitdiff
path: root/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/knowledge/SearchPoint.java
diff options
context:
space:
mode:
Diffstat (limited to 'nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/knowledge/SearchPoint.java')
-rw-r--r--nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/knowledge/SearchPoint.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/knowledge/SearchPoint.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/knowledge/SearchPoint.java
index ea37e1e5cd0b..dbd472f043e3 100644
--- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/knowledge/SearchPoint.java
+++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/knowledge/SearchPoint.java
@@ -27,7 +27,7 @@ public class SearchPoint extends BasicPoint implements IEncodeEngine {
//store the encode information for goodness evaluation
//encodeInfo[0]: the sum of constraints (if it equals to 0, then be a feasible point)
//encodeInfo[1]: the value of objective function
- private double[] encodeInfo = new double[2];
+ private final double[] encodeInfo = new double[2];
private double objectiveValue;
public SearchPoint(int dim) {