3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-10-30 14:54:04 -07:00
parent 938a89e197
commit f97dd34028
6 changed files with 25 additions and 11 deletions

View file

@ -286,11 +286,9 @@ struct solver::imp {
bool check_constraint(unsigned idx) {
auto& c = lra.constraints()[idx];
auto& pm = m_nlsat->pm();
auto k = c.kind();
auto offset = -c.rhs();
auto lhs = c.coeffs();
auto sz = lhs.size();
scoped_anum val(am()), mon(am());
am().set(val, offset.to_mpq());