missing propagation

This commit is contained in:
lperron@google.com
2014-05-13 13:20:13 +00:00
parent 9d1d8f3d26
commit f30c65f359

View File

@@ -842,6 +842,9 @@ class IsBetweenCt : public Constraint {
} else if (emax < max_) {
expr_->SetMax(min_ - 1);
}
} else {
expr_->SetRange(min_, max_);
inhibit = true;
}
if (inhibit && expr_->IsVar()) {
demon_->inhibit(solver());