Fix some warnings about comparison of signed with unsigned.
ex add::conjugate() const
{
exvector *v = 0;
- for (int i=0; i<nops(); ++i) {
+ for (size_t i=0; i<nops(); ++i) {
if (v) {
v->push_back(op(i).conjugate());
continue;
continue;
v = new exvector;
v->reserve(nops());
- for (int j=0; j<i; ++j)
+ for (size_t j=0; j<i; ++j)
v->push_back(op(j));
v->push_back(ccterm);
}
{
if (is_a<wildcard>(x))
return true;
- for (int i=0; i<x.nops(); ++i)
+ for (size_t i=0; i<x.nops(); ++i)
if (haswild(x.op(i)))
return true;
return false;