Commit 6e07903d authored by leberre's avatar leberre

remove wrong call to new Integer(int). Relying on AutoBoxing.

git-svn-id: svn+ssh:// ba638df5-4473-46d1-82f8-c3ae2a17a6e1
parent fb7a208f
......@@ -162,7 +162,7 @@ public class MinCostDecorator extends PBSolverDecorator implements
public Number calculateObjective() {
this.objectivevalue = calculateDegree(this.prevmodel);
return new Integer(this.objectivevalue);
return this.objectivevalue;
private int calculateDegree(int[] prevmodel2) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment