Commit 958ad97a authored by Daniel Le Berre's avatar Daniel Le Berre

Fixing type for operations.

parent 0cdc7b8f
Pipeline #3425 passed with stages
in 41 minutes and 27 seconds
......@@ -98,7 +98,7 @@ public class ConflictMapReduceToCard extends ConflictMap {
reducedCoefs[i] = tmpCoefs[i];
}
}
return BigInteger.valueOf(cpt + 1);
return BigInteger.valueOf(cpt + 1L);
}
}
......@@ -228,7 +228,7 @@ public class OrderedObjsOWAOptimizer extends AbstractLinMultiObjOptimizer {
.add(BigInteger.ONE);
return maxObjValue.multiply(BigInteger
.valueOf(1 << objBoundVariables.get(0).getVars().size())
.multiply(BigInteger.valueOf(super.objs.size() - 1)));
.multiply(BigInteger.valueOf(super.objs.size() - 1L)));
}
@Override
......
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