* methods for series expansion. */
/*
- * GiNaC Copyright (C) 1999-2014 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2015 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
ex pseries::eval_integ() const
{
- epvector *newseq = NULL;
+ epvector *newseq = nullptr;
for (epvector::const_iterator i=seq.begin(); i!=seq.end(); ++i) {
if (newseq) {
newseq->push_back(expair(i->rest.eval_integ(), i->coeff));
orderloop++;
real_ldegree = buf.series(r, orderloop, options).ldegree(sym);
} while ((real_ldegree == orderloop)
- && ( factor*real_ldegree < degbound));
+ && (factor*real_ldegree < degbound));
ldegrees[j] = factor * real_ldegree;
degbound -= factor * real_ldegree;
}
if (x.subs(r) != x)
throw std::logic_error("Cannot series expand wrt dummy variable");
- // Expanding integrant with r substituted taken in boundaries.
+ // Expanding integrand with r substituted taken in boundaries.
ex fseries = f.series(r, order, options);
epvector fexpansion;
fexpansion.reserve(fseries.nops());