]> www.ginac.de Git - ginac.git/blobdiff - ginac/basic.cpp
- expairseq.cpp: moved expairseq::to_rational to...
[ginac.git] / ginac / basic.cpp
index 5606f3640e7d4d0fb9952ebefc830ec79478db3c..2a4a3e39b9e3629b79b9e2e3cfd7a5307428eaa6 100644 (file)
@@ -205,6 +205,9 @@ bool basic::info(unsigned inf) const
 /** Number of operands/members. */
 unsigned basic::nops() const
 {
+    // iterating from 0 to nops() on atomic objects should be an empty loop,
+    // and accessing their elements is a range error.  Container objects should
+    // override this.
     return 0;
 }