Commit 2dae4789 authored by Daniel Le Berre's avatar Daniel Le Berre

Fix for sonarqube violation.

parent 660160b7
......@@ -132,8 +132,9 @@ public class PreprocCardConstrLearningSolver<S extends IPBSolver>
newMinBound = newMinBound.add(weights.get(i));
}
if (this.objMinBound == null
|| this.objMinBound.compareTo(newMinBound) == -1)
|| this.objMinBound.compareTo(newMinBound) < 0) {
this.objMinBound = newMinBound;
}
}
private void rissPreprocessing() {
......
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