gecode-6.1

This commit is contained in:
Vitor Santos Costa 2018-11-26 12:51:30 +00:00
parent 9dc86c735b
commit 3a8738a7db

View File

@ -412,7 +412,7 @@ namespace generic_gecode
break; break;
case Optimizing::OPT_RATIO: case Optimizing::OPT_RATIO:
{ {
IntArgs c(2, sol.ivars[optim.den].val(), IntArgs c = Gecode::IntArgs::create(2, sol.ivars[optim.den].val(),
- sol.ivars[optim.num].val()); - sol.ivars[optim.num].val());
IntVarArgs v(2); IntVarArgs v(2);
v[0] = ivars[optim.num]; v[0] = ivars[optim.num];