Skip to content

Commit

Permalink
free memory in egraph
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <[email protected]>
  • Loading branch information
NikolajBjorner committed Aug 31, 2020
1 parent a003af4 commit bee3077
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ast/euf/euf_egraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ namespace euf {
return n;
}

void egraph::~egraph() {
egraph::~egraph() {
for (enode* n : m_nodes)
n->~enode();
n->m_parents.finalize();
}

void egraph::pop(unsigned num_scopes) {
Expand Down
2 changes: 1 addition & 1 deletion src/sat/tactic/goal2sat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ struct goal2sat::imp : public sat::sat_internalizer {
m_ite_extra = p.get_bool("ite_extra", true);
m_max_memory = megabytes_to_bytes(p.get_uint("max_memory", UINT_MAX));
m_xor_solver = p.get_bool("xor_solver", false);
m_euf = true; // false; // true;
m_euf = false;
}

void throw_op_not_handled(std::string const& s) {
Expand Down

0 comments on commit bee3077

Please sign in to comment.