Merge branch 'master' of https://github.com/vscosta/yap-6.3
This commit is contained in:
commit
b73a1f05ba
@ -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];
|
||||||
|
Reference in New Issue
Block a user