it++;
}
- if (s.size() == 0)
+ if (s.empty())
return color(su3one(), representation_label);
else
return simplified_ncmul(s);
GINAC_ASSERT(is_ex_of_type(i.op(0), su3d));
// Convolutions are zero
- if (static_cast<const indexed &>(i).get_dummy_indices().size() != 0)
+ if (!(static_cast<const indexed &>(i).get_dummy_indices().empty()))
return _ex0();
// Numeric evaluation