mirror of
https://github.com/Z3Prover/z3
synced 2026-02-02 07:16:17 +00:00
[WIP] Refactor NLSAT solver to use structured bindings for variable bounds (#8425)
* Initial plan * Refactor NLSAT solver to use structured bindings for variable bounds Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
ebed679287
commit
0b1d30e86f
1 changed files with 1 additions and 3 deletions
|
|
@ -1979,9 +1979,7 @@ namespace nlsat {
|
|||
<< " :propagations " << m_stats.m_propagations
|
||||
<< " :clauses " << m_clauses.size()
|
||||
<< " :learned " << m_learned.size() << ")\n");
|
||||
for (auto const& b : bounds) {
|
||||
var x = b.first;
|
||||
rational lo = b.second;
|
||||
for (auto const& [x, lo] : bounds) {
|
||||
rational hi = lo + 1; // rational::one();
|
||||
bool is_even = false;
|
||||
polynomial_ref p(m_pm);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue