mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
fix bug in propagation of parameters to combined solvers
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
bdfa84c6fe
commit
f015e3e4cc
5 changed files with 7 additions and 4 deletions
|
@ -54,7 +54,7 @@ public:
|
|||
/**
|
||||
\brief Update the solver internal settings.
|
||||
*/
|
||||
virtual void updt_params(params_ref const & p) {}
|
||||
virtual void updt_params(params_ref const & p) { }
|
||||
|
||||
/**
|
||||
\brief Store in \c r a description of the configuration
|
||||
|
|
|
@ -93,6 +93,7 @@ public:
|
|||
{}
|
||||
|
||||
virtual void updt_params(params_ref const & p) {
|
||||
m_params.append(p);
|
||||
m_solver->updt_params(p);
|
||||
}
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ tactic2solver::~tactic2solver() {
|
|||
}
|
||||
|
||||
void tactic2solver::updt_params(params_ref const & p) {
|
||||
m_params = p;
|
||||
m_params.append(p);
|
||||
}
|
||||
|
||||
void tactic2solver::collect_param_descrs(param_descrs & r) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue