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

#7630 propagate parameters on lazy tactics

This commit is contained in:
Nikolaj Bjorner 2025-04-26 11:22:16 -07:00
parent 322e4441b3
commit d581dc1db4
2 changed files with 14 additions and 11 deletions

View file

@ -74,7 +74,6 @@ void report_tactic_progress(char const * id, unsigned val) {
IF_VERBOSE(TACTIC_VERBOSITY_LVL, verbose_stream() << "(" << id << " " << val << ")\n");
}
}
statistics_report::~statistics_report() {
statistics st;
if (m_tactic)
@ -108,6 +107,10 @@ public:
ensure_tactic();
(*m_tactic)(in, result);
}
void updt_params(params_ref const& p) override {
this->p.append(p);
if (m_tactic) m_tactic->updt_params(p);
}
void cleanup() override { if (m_tactic) m_tactic->cleanup(); }
char const* name() const override { return "lazy tactic"; }
void collect_statistics(statistics& st) const override { if (m_tactic) m_tactic->collect_statistics(st); }