mirror of
https://github.com/Z3Prover/z3
synced 2025-08-18 17:22:15 +00:00
reset zero before resetting nlsat #4493b
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2da7a8dd70
commit
48f07932f7
2 changed files with 3 additions and 2 deletions
|
@ -52,6 +52,7 @@ struct solver::imp {
|
||||||
*/
|
*/
|
||||||
lbool check() {
|
lbool check() {
|
||||||
SASSERT(need_check());
|
SASSERT(need_check());
|
||||||
|
m_zero = nullptr;
|
||||||
m_nlsat = alloc(nlsat::solver, m_limit, m_params, false);
|
m_nlsat = alloc(nlsat::solver, m_limit, m_params, false);
|
||||||
m_zero = alloc(scoped_anum, am());
|
m_zero = alloc(scoped_anum, am());
|
||||||
m_term_set.clear();
|
m_term_set.clear();
|
||||||
|
|
|
@ -3389,7 +3389,7 @@ public:
|
||||||
if (t.is_term()) {
|
if (t.is_term()) {
|
||||||
|
|
||||||
m_todo_terms.push_back(std::make_pair(t, rational::one()));
|
m_todo_terms.push_back(std::make_pair(t, rational::one()));
|
||||||
|
TRACE("nl_value", tout << t.to_string() << "\n";);
|
||||||
TRACE("nl_value", tout << "v" << v << " := w" << t.to_string() << "\n";
|
TRACE("nl_value", tout << "v" << v << " := w" << t.to_string() << "\n";
|
||||||
lp().print_term(lp().get_term(t), tout) << "\n";);
|
lp().print_term(lp().get_term(t), tout) << "\n";);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue