mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
fixes in new solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
21c626e3ee
commit
372e5ca569
12 changed files with 79 additions and 43 deletions
|
@ -74,7 +74,7 @@ namespace lp_api {
|
|||
return inf_rational(m_value + offset); // v <= value - 1 or v >= value + 1
|
||||
}
|
||||
else {
|
||||
return inf_rational(m_value, m_bound_kind != lower_t); // v <= value - epsilon or v >= value + epsilon
|
||||
return inf_rational(m_value, m_bound_kind != lower_t); // v <= value - epsilon or v >= value + epsilon
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1462,7 +1462,6 @@ void core::check_weighted(unsigned sz, std::pair<unsigned, std::function<void(vo
|
|||
bound += checks[i].first;
|
||||
uint_set seen;
|
||||
while (bound > 0 && !done() && m_lemma_vec->empty()) {
|
||||
SASSERT(bound > 0);
|
||||
unsigned n = random() % bound;
|
||||
for (unsigned i = 0; i < sz; ++i) {
|
||||
if (seen.contains(i))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue