From e5863acf9f792826991d785532999d4201502924 Mon Sep 17 00:00:00 2001 From: Nikolaj Bjorner Date: Wed, 7 Dec 2022 12:20:05 -0800 Subject: [PATCH] fix pretty printer Signed-off-by: Nikolaj Bjorner --- src/sat/smt/xor_gaussian.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sat/smt/xor_gaussian.cpp b/src/sat/smt/xor_gaussian.cpp index 4666ea101..0c6720ff2 100644 --- a/src/sat/smt/xor_gaussian.cpp +++ b/src/sat/smt/xor_gaussian.cpp @@ -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 << " ";