3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 03:15:50 +00:00

fix mixup between constraint indices and lpvar explanations fixes various newly reported unsoundness bugs

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-05-11 13:07:28 -07:00
parent 9c972521c4
commit 81b3c440ce
4 changed files with 40 additions and 24 deletions

View file

@ -251,8 +251,8 @@ public:
std::ostream& display(std::ostream& out) const {
out << "number of constraints = " << m_constraints.size() << std::endl;
for (auto const& c : active()) {
display(out, c);
for (auto const& c : indices()) {
display(out << "(" << c << ") ", *m_constraints[c]);
}
return out;
}