3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 16:45:31 +00:00

fix pretty printer

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2022-12-07 12:20:05 -08:00
parent 626d736904
commit e5863acf9f

View file

@ -373,7 +373,7 @@ std::ostream& PackedMatrix::display_sparse(std::ostream& out) const {
bool first = true;
for (int i = 0; i < row.get_size() * 64; ++i) {
if (row[i]) {
if (first && row.rhs())
if (first && !row.rhs())
out << -i-1 << " ";
else
out << i+1 << " ";