mirror of
https://github.com/Z3Prover/z3
synced 2025-06-16 02:46:16 +00:00
move std::function to header of sat-drat - alignment?
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c6263587c3
commit
74c61f49b4
2 changed files with 2 additions and 1 deletions
|
@ -35,6 +35,7 @@ namespace sat {
|
||||||
if (s.get_config().m_drat_binary)
|
if (s.get_config().m_drat_binary)
|
||||||
std::swap(m_out, m_bout);
|
std::swap(m_out, m_bout);
|
||||||
}
|
}
|
||||||
|
m_print_clause = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
drat::~drat() {
|
drat::~drat() {
|
||||||
|
|
|
@ -73,6 +73,7 @@ namespace sat {
|
||||||
watched_clause(clause* c, literal l1, literal l2):
|
watched_clause(clause* c, literal l1, literal l2):
|
||||||
m_clause(c), m_l1(l1), m_l2(l2) {}
|
m_clause(c), m_l1(l1), m_l2(l2) {}
|
||||||
};
|
};
|
||||||
|
std::function<void(unsigned, literal const*, status)> m_print_clause;
|
||||||
svector<watched_clause> m_watched_clauses;
|
svector<watched_clause> m_watched_clauses;
|
||||||
typedef svector<unsigned> watch;
|
typedef svector<unsigned> watch;
|
||||||
solver& s;
|
solver& s;
|
||||||
|
@ -92,7 +93,6 @@ namespace sat {
|
||||||
bool m_trim = false;
|
bool m_trim = false;
|
||||||
stats m_stats;
|
stats m_stats;
|
||||||
|
|
||||||
std::function<void(unsigned, literal const*, status)> m_print_clause;
|
|
||||||
|
|
||||||
void dump_activity();
|
void dump_activity();
|
||||||
void dump(unsigned n, literal const* c, status st);
|
void dump(unsigned n, literal const* c, status st);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue