]> www.ginac.de Git - ginac.git/blobdiff - ginac/expairseq.cpp
* ginac/pseries.cpp (pseries::compare_same_type): optimized.
[ginac.git] / ginac / expairseq.cpp
index 3e84134b3ca29b58aac94ea56b9dacd66774f077..bad422cd55570e9f273ddbe7e21bb5f1f8912312 100644 (file)
@@ -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) {