Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Dec 3, 2023
1 parent 1de25ed commit 965bee5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/sat/sat_extension.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ namespace sat {
virtual void init_search() {}
virtual bool propagated(sat::literal l, sat::ext_constraint_idx idx) { UNREACHABLE(); return false; }
virtual bool unit_propagate() = 0;
virtual bool should_propagate() { return false; }
virtual bool can_propagate() { return false; }
virtual bool is_external(bool_var v) { return false; }
virtual double get_reward(literal l, ext_constraint_idx idx, literal_occs_fun& occs) const { return 0; }
virtual void get_antecedents(literal l, ext_justification_idx idx, literal_vector & r, bool probing) = 0;
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 @@ -1785,7 +1785,7 @@ namespace sat {
}

bool solver::should_propagate() const {
return !inconsistent() && (m_qhead < m_trail.size() || (m_ext && m_ext->should_propagate()));
return !inconsistent() && (m_qhead < m_trail.size() || (m_ext && m_ext->can_propagate()));
}

lbool solver::final_check() {
Expand Down
2 changes: 1 addition & 1 deletion src/sat/smt/euf_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ namespace euf {
}


bool solver::should_propagate() {
bool solver::can_propagate() {
return m_egraph.can_propagate();
}

Expand Down
2 changes: 1 addition & 1 deletion src/sat/smt/euf_solver.h
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ namespace euf {
bool is_external(bool_var v) override;
bool propagated(literal l, ext_constraint_idx idx) override;
bool unit_propagate() override;
bool should_propagate() override;
bool can_propagate() override;
bool should_research(sat::literal_vector const& core) override;
void add_assumptions(sat::literal_set& assumptions) override;
bool tracking_assumptions() override;
Expand Down

0 comments on commit 965bee5

Please sign in to comment.