3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 03:45:51 +00:00

fix bugs related to emons

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-04-25 12:00:44 -07:00
parent f78a2058fc
commit 8303d8c9ae
5 changed files with 9 additions and 10 deletions

View file

@ -143,7 +143,7 @@ namespace nla {
}
}
unsigned idx = m_monomials.size();
m_monomials.push_back(monomial(v, vars.size(), vars.c_ptr(), idx));
m_monomials.push_back(monomial(v, vars, idx));
m_var2index.setx(v, idx, UINT_MAX);
do_canonize(m_monomials[idx]);
monomial const* result = nullptr;