X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fexpairseq.cpp;h=bad422cd55570e9f273ddbe7e21bb5f1f8912312;hp=3e84134b3ca29b58aac94ea56b9dacd66774f077;hb=7db2d551ae2e9e4e7c5029eba73e90b420445ecc;hpb=4e3a4ac2bcb0837611ea31bc8fc05d84a20c33ac diff --git a/ginac/expairseq.cpp b/ginac/expairseq.cpp index 3e84134b..bad422cd 100644 --- a/ginac/expairseq.cpp +++ b/ginac/expairseq.cpp @@ -1301,6 +1301,9 @@ void expairseq::drop_coeff_0_terms(epvector::iterator &first_numeric, GINAC_ASSERT(i==current-seq.begin()); } +/** True if one of the coeffs vanishes, otherwise false. + * This would be an invariant violation, so this should only be used for + * debugging purposes. */ bool expairseq::has_coeff_0(void) const { for (epvector::const_iterator cit=seq.begin(); cit!=seq.end(); ++cit) {