mirror of
https://github.com/Z3Prover/z3
synced 2025-05-13 02:34:43 +00:00
fix #436, adding more length-based propagation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
fc1f37efc9
commit
677b4bf4fe
2 changed files with 20 additions and 1 deletions
|
@ -30,12 +30,13 @@ namespace smt {
|
|||
expr * m_e;
|
||||
public:
|
||||
fpa2bv_conversion_trail_elem(ast_manager & m, obj_map<expr, expr*> & c, expr * e) :
|
||||
m(m), m_conversions(c), m_e(e) {}
|
||||
m(m), m_conversions(c), m_e(e) { m.inc_ref(e); }
|
||||
virtual ~fpa2bv_conversion_trail_elem() {}
|
||||
virtual void undo(theory_fpa & th) {
|
||||
expr * v = m_conversions.find(m_e);
|
||||
m_conversions.remove(m_e);
|
||||
m.dec_ref(v);
|
||||
m.dec_ref(m_e);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue