mirror of
https://github.com/Z3Prover/z3
synced 2026-04-30 23:53:44 +00:00
Apply code simplification improvements
- Consolidated two contains() methods into single template function - Added const correctness to helper methods in argument_parser.h - Improved string handling (replaced substr with compare, return "" instead of std::string()) - Fixed indentation in nlsat_solver.cpp nested loop - Modernized empty container return syntax in lp.cpp Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
160b98786f
commit
bb177988eb
3 changed files with 13 additions and 16 deletions
|
|
@ -1208,8 +1208,8 @@ namespace nlsat {
|
|||
used_bools[b] = true;
|
||||
vars.reset();
|
||||
this->vars(lit, vars);
|
||||
for (var v : vars)
|
||||
used_vars[v] = true;
|
||||
for (var v : vars)
|
||||
used_vars[v] = true;
|
||||
}
|
||||
display(out << "(echo \"#" << m_lemma_count++ << ":" << annotation << ":", n, cls) << "\")\n";
|
||||
if (m_log_lemma_smtrat)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue