File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -619,12 +619,15 @@ namespace Gecode {
619619 return BoolExpr (BoolExpr (r,BoolExpr::NT_NOT),
620620 BoolExpr::NT_OR,l);
621621 }
622+
623+
622624 /*
623625 * Posting Boolean expressions and relations
624626 *
625627 */
626628 BoolVar
627629 expr (Home home, const BoolExpr& e, const IntPropLevels& ipls) {
630+ PostInfo pi (home);
628631 if (!home.failed ())
629632 return e.expr (home,ipls);
630633 BoolVar x (home,0 ,1 );
@@ -633,7 +636,7 @@ namespace Gecode {
633636
634637 void
635638 rel (Home home, const BoolExpr& e, const IntPropLevels& ipls) {
636- if (home. failed ()) return ;
639+ GECODE_POST ;
637640 e.rel (home,ipls);
638641 }
639642
Original file line number Diff line number Diff line change @@ -842,7 +842,6 @@ namespace Gecode {
842842 return x;
843843 }
844844
845-
846845}
847846
848847#endif
You can’t perform that action at this time.
0 commit comments