Skip to content

Commit

Permalink
no debug msg
Browse files Browse the repository at this point in the history
  • Loading branch information
daejunpark committed Oct 5, 2024
1 parent e7f65e4 commit 94aa586
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/halmos/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,17 +496,7 @@ def setup(
if args.statistics:
print(setup_timer.report())

if setup_ex.path.solver.num_scopes() > 0:
warn(f"non empty scope: {setup_ex.path.solver.num_scopes()}")
sys.exit(1)

debug("setup solver reset...")
setup_ex.path.solver.reset()
debug("setup solver reset done")

if setup_ex.path.solver.assertions():
warn(f"non empty state: {setup_ex.path.solver.assertions()}")
sys.exit(1)

return setup_ex

Expand Down Expand Up @@ -725,17 +715,7 @@ def future_callback(future_model):
else:
thread_pool.shutdown(wait=True)

if solver.num_scopes() > 0:
warn(f"non empty scope: {solver.num_scopes()}")
sys.exit(1)

debug("solver reset...")
solver.reset()
debug("solver reset done")

if solver.assertions():
warn(f"non empty state: {solver.assertions()}")
sys.exit(1)

counter = Counter(str(m.result) for m in models)
if counter["sat"] > 0:
Expand Down

0 comments on commit 94aa586

Please sign in to comment.