3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 09:35:32 +00:00

clear tactic user propagate state on solver destructor

This commit is contained in:
Nikolaj Bjorner 2021-12-07 03:11:54 -08:00
parent fdc253afdd
commit 658a334ecf
4 changed files with 23 additions and 5 deletions

View file

@ -192,6 +192,10 @@ public:
return m_t2->user_propagate_register(e);
}
void user_propagate_clear() override {
m_t2->user_propagate_clear();
}
};
tactic * and_then(tactic * t1, tactic * t2) {

View file

@ -56,6 +56,9 @@ namespace user_propagator {
virtual unsigned user_propagate_register(expr* e) {
throw default_exception("user-propagators are only supported on the SMT solver");
}
virtual void user_propagate_clear() {
}
};