Skip to content

Commit

Permalink
cleanup debugging msg
Browse files Browse the repository at this point in the history
  • Loading branch information
daejunpark committed Jun 24, 2024
1 parent fb470e2 commit b881bc4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/halmos/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1058,10 +1058,9 @@ def parse_unsat_core(output) -> Optional[List]:
match = re.search(r"unsat\s*\(\s*error\s+[^)]*\)\s*\(\s*((<[0-9]+>\s*)*)\)", output)
if match:
result = [re.sub(r"<([0-9]+)>", r"\1", name) for name in match.group(1).split()]
print(result)
return result
else:
print(f"error parse_unsat_core: {output}")
warn(f"error in parsing unsat core: {output}")
return None


Expand Down Expand Up @@ -1138,7 +1137,6 @@ def solve(
unsat_core = None
if args.cache_solver and result == unsat:
uc = solver.unsat_core()
print(uc)
unsat_core = [str(core) for core in uc]

return result, model, unsat_core
Expand Down

0 comments on commit b881bc4

Please sign in to comment.