Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

Commit

Permalink
ignore propagation on units
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Nov 11, 2018
1 parent 6a72a4f commit 4d0bc8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/mk_win_dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def cp_vs_runtime(x64):
# we use a "check_root" filter to find some hopefully suitable
# redistributable.
def check_root(root):
return platform in root and "CRT" in root and "onecore" not in root and "debug" not in root
return platform in root and ("CRT" in root or "MP" in root) and "onecore" not in root and "debug" not in root
for root, dirs, files in os.walk(path):
for filename in files:
if fnmatch(filename, '*.dll') and check_root(root):
Expand Down
2 changes: 1 addition & 1 deletion src/sat/sat_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ namespace sat {
if (c[0] == not_l)
std::swap(c[0], c[1]);
CTRACE("propagate_bug", c[1] != not_l, tout << "l: " << l << " " << c << "\n";);
if (c.was_removed() || c[1] != not_l) {
if (c.was_removed() || c.size() == 1 || c[1] != not_l) {
// Remark: this method may be invoked when the watch lists are not in a consistent state,
// and may contain dead/removed clauses, or clauses with removed literals.
// See: method propagate_unit at sat_simplifier.cpp
Expand Down

0 comments on commit 4d0bc8c

Please sign in to comment.