3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00

Added missing decide-callback for tactics (#6166)

* Added function to select the next variable to split on

* Fixed typo

* Small fixes

* uint -> int

* Fixed missing assignment for binary clauses

* Added missing decide-callback for tactics
This commit is contained in:
Clemens Eisenhofer 2022-07-17 19:07:52 +02:00 committed by GitHub
parent 6e5ced0080
commit 95c3dd9224
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View file

@ -348,6 +348,7 @@ public:
m_eq_eh = nullptr;
m_diseq_eh = nullptr;
m_created_eh = nullptr;
m_decide_eh = nullptr;
}
void user_propagate_init(
@ -385,6 +386,10 @@ public:
void user_propagate_register_created(user_propagator::created_eh_t& created_eh) override {
m_created_eh = created_eh;
}
void user_propagate_register_decide(user_propagator::decide_eh_t& decide_eh) override {
m_decide_eh = decide_eh;
}
};
static tactic * mk_seq_smt_tactic(ast_manager& m, params_ref const & p) {

View file

@ -116,8 +116,8 @@ public:
m_tactic->user_propagate_register_created(created_eh);
}
void user_propagate_register_decide(user_propagator::decide_eh_t& created_eh) override {
m_tactic->user_propagate_register_decide(created_eh);
void user_propagate_register_decide(user_propagator::decide_eh_t& decide_eh) override {
m_tactic->user_propagate_register_decide(decide_eh);
}
void user_propagate_clear() override {