3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-19 10:52:02 +00:00

initial unit test for pdd_grobner

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-12-22 10:59:12 -08:00
parent 3fca59ac84
commit 58be42d2a9
6 changed files with 104 additions and 34 deletions

View file

@ -761,7 +761,7 @@ namespace dd {
first = false;
rational c = abs(m.first);
m.second.reverse();
if (!c.is_one()) {
if (!c.is_one() || m.second.empty()) {
out << c;
if (!m.second.empty()) out << "*";
}