Skip to content

Commit

Permalink
log warning and reset
Browse files Browse the repository at this point in the history
  • Loading branch information
florianpollitt committed Jan 31, 2024
1 parent b8434e3 commit c077f39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/minimize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ void Internal::calculate_minimize_chain (int lit, std::vector<int> &stack) {
assert (v.reason && f.removable);
const const_literal_iterator end = v.reason->end ();
const_literal_iterator i;
LOG (v.reason, "LRAT chain for lit %d at depth %d by going over", lit,
LOG (v.reason, "LRAT chain for lit %d at depth %zd by going over", lit,
stack.size());
stack.push_back (-idx);
for (i = v.reason->begin (); i != end; i++) {
Expand Down
2 changes: 2 additions & 0 deletions src/solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,7 @@ void Solver::reset_assumptions () {
REQUIRE_VALID_STATE ();
transition_to_steady_state ();
external->reset_assumptions ();
external->reset_concluded ();
LOG_API_CALL_END ("reset_assumptions");
}

Expand All @@ -656,6 +657,7 @@ void Solver::reset_constraint () {
REQUIRE_VALID_STATE ();
transition_to_steady_state ();
external->reset_constraint ();
external->reset_concluded ();
LOG_API_CALL_END ("reset_constraint");
}

Expand Down

0 comments on commit c077f39

Please sign in to comment.