We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7f0d7c commit 998aadaCopy full SHA for 998aada
changelog.in
@@ -69,6 +69,13 @@ Date: 2020-??-??
69
[DESCRIPTION]
70
Let's see.
71
72
+[ENTRY]
73
+Module: int
74
+What: bug
75
+Rank: minor
76
+[DESCRIPTION]
77
+Fix GCD calculation for Boolean reified linear constraints.
78
+
79
[ENTRY]
80
Module: flatzinc
81
What: change
gecode/int/linear/bool-post.cpp
@@ -651,7 +651,7 @@ namespace Gecode { namespace Int { namespace Linear {
651
d /= gcd;
652
break;
653
case IRT_NQ:
654
- if ((d % gcd) == 0) {
+ if ((d % gcd) != 0) {
655
if (r.mode() != RM_IMP)
656
GECODE_ME_FAIL(BoolView(r.var()).one(home));
657
return;
0 commit comments