mirror of
https://github.com/Z3Prover/z3
synced 2025-08-13 14:40:55 +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
|
@ -67,7 +67,7 @@ namespace polynomial {
|
|||
bool first = true;
|
||||
out << "[";
|
||||
for (unsigned i = 0; i < m_var2degree.size(); ++ i) {
|
||||
if (m_var2degree.size() > 0) {
|
||||
if (!m_var2degree.empty()) {
|
||||
if (!first) {
|
||||
out << ",";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue