mirror of
https://github.com/Z3Prover/z3
synced 2025-09-07 02:11:08 +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
|
@ -96,7 +96,7 @@ namespace upolynomial {
|
|||
|
||||
void core_manager::factors::display(std::ostream & out) const {
|
||||
out << nm().to_string(m_constant);
|
||||
if (m_factors.size() > 0) {
|
||||
if (!m_factors.empty()) {
|
||||
for (unsigned i = 0; i < m_factors.size(); ++ i) {
|
||||
out << " * (";
|
||||
m_upm.display(out, m_factors[i]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue