Closed
Description
Describe the bug
The following:
IntIterableSetUtils.union(new IntIterableRangeSet(), new IntIterableRangeSet(0));
results in an empty set instead of a single set containing 0.
Possible solution
Not a solution but that condition looks strange: https://github.com/chocoteam/choco-solver/blob/master/solver/src/main/java/org/chocosolver/util/objects/setDataStructures/iterable/IntIterableSetUtils.java#L426
Environment (please complete the following information):
- Choco-solver version: 4.10.10
- JRE : 8