3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-30 12:25:51 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-03-10 11:59:50 -08:00
parent 04ac5f03f7
commit 78f4513441
3 changed files with 3 additions and 3 deletions

View file

@ -271,7 +271,7 @@ std::ostream& core::print_explanation(const lp::explanation& exp, std::ostream&
bool core::explain_upper_bound(const lp::lar_term& t, const rational& rs, lp::explanation& e) const {
rational b(0); // the bound
for (const auto& p : t) {
for (lp::lar_term::ival p : t) {
rational pb;
if (explain_coeff_upper_bound(p, pb, e)) {
b += pb;