mirror of
https://github.com/Z3Prover/z3
synced 2025-05-06 15:25:46 +00:00
follow logic annotation/enable diff logic when configured
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
18b491eee0
commit
c1580fb85a
11 changed files with 71 additions and 30 deletions
|
@ -362,6 +362,7 @@ void cmd_context::set_opt(opt_wrapper* opt) {
|
|||
for (unsigned i = 0; i < m_scopes.size(); ++i) {
|
||||
m_opt->push();
|
||||
}
|
||||
m_opt->set_logic(m_logic);
|
||||
}
|
||||
|
||||
void cmd_context::global_params_updated() {
|
||||
|
|
|
@ -123,6 +123,7 @@ public:
|
|||
virtual void set_hard_constraints(ptr_vector<expr> & hard) = 0;
|
||||
virtual void display_assignment(std::ostream& out) = 0;
|
||||
virtual bool is_pareto() = 0;
|
||||
virtual void set_logic(symbol const& s) = 0;
|
||||
};
|
||||
|
||||
class cmd_context : public progress_callback, public tactic_manager, public ast_printer_context {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue