mirror of
https://github.com/Z3Prover/z3
synced 2025-06-28 08:58:44 +00:00
Prefer using empty rather than size comparisons.
This commit is contained in:
parent
a83097d5cc
commit
e570940662
56 changed files with 104 additions and 104 deletions
|
@ -191,7 +191,7 @@ lbool check_sat(tactic & t, goal_ref & g, model_ref & md, labels_vec & labels, p
|
|||
return l_false;
|
||||
}
|
||||
else {
|
||||
if (models_enabled && r.size() >= 1) {
|
||||
if (models_enabled && !r.empty()) {
|
||||
model_converter_ref mc = r[0]->mc();
|
||||
model_converter2model(m, mc.get(), md);
|
||||
if (mc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue