3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 11:25:51 +00:00

port Grobner: still producing sat lemmas

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-10-31 20:14:43 -07:00
parent 7416a8cbb9
commit ede4310b32
2 changed files with 12 additions and 4 deletions

View file

@ -671,7 +671,7 @@ void nex_creator::sort_join_sum(ptr_vector<nex> & children) {
for (auto& p : map) {
process_map_pair(p.first, p.second, children, allocated_nexs);
}
if (common_scalar) {
if (common_scalar && !common_scalar->value().is_zero()) {
children.push_back(common_scalar);
}
TRACE("nla_cn_details", for (auto & p : map ) { tout << "(" << *p.first << ", " << p.second << ") ";});