3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-29 20:08:52 +00:00

remove compute depth in favor of already existing get_depth

This commit is contained in:
Nikolaj Bjorner 2024-12-23 18:49:54 -08:00
parent e332904fb2
commit 09825edcd8
2 changed files with 1 additions and 40 deletions

View file

@ -64,7 +64,6 @@ class asserted_formulas {
bool m_inconsistent_old;
};
svector<scope> m_scopes;
obj_map<expr, unsigned> m_expr2depth;
class simplify_fmls {
protected:
@ -247,8 +246,7 @@ class asserted_formulas {
unsigned propagate_values(unsigned i);
bool update_substitution(expr* n, proof* p);
bool is_gt(expr* lhs, expr* rhs);
void compute_depth(expr* e);
unsigned depth(expr* e) { return m_expr2depth[e]; }
unsigned depth(expr* e) { return get_depth(e); }
void init(unsigned num_formulas, expr * const * formulas, proof * const * prs);