3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-07 05:44:51 +00:00

fix output

This commit is contained in:
Jakob Rath 2022-08-03 10:01:54 +02:00
parent a76f977f85
commit b9588af07a
3 changed files with 4 additions and 2 deletions

View file

@ -388,7 +388,8 @@ namespace polysat {
std::ostream& display(std::ostream& out) const override {
out << "Resolve upon " << lit << " with assignment:";
for (pvar v : c->vars())
out << " " << assignment_pp(s, v, s.get_value(v), true);
if (s.is_assigned(v))
out << " " << assignment_pp(s, v, s.get_value(v), true);
return out;
}
};