Commit 37e71508 authored by Lonca Emmanuel's avatar Lonca Emmanuel

Fixed a bug that made crash the solver for some constraints.

parent 7d772f7c
Pipeline #173 failed with stage
in 18 seconds
......@@ -213,7 +213,7 @@ public class CountingCtrBuilder {
}
public boolean buildCtrNotAllEqual(String id, XVarInteger[] list) {
return buildCtrNValues(id, list, new StringCondition("ne(", ","+Integer.toString(list.length)+""));
return buildCtrNValues(id, list, new StringCondition("ne(", ","+Integer.toString(list.length)+")"));
}
public boolean buildCtrCardinality(String id, XVarInteger[] list, boolean closed, int[] values, XVarInteger[] occurs) {
......
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