]> www.ginac.de Git - ginac.git/blobdiff - ginac/symmetry.cpp
- replaced the Derivative() function by a more resonable fderivative class;
[ginac.git] / ginac / symmetry.cpp
index dc2546ff907f52a1222a23863177a66d48a922d7..1b818191a64115849189bb8eda2de59f1de0406b 100644 (file)
@@ -135,7 +135,7 @@ void symmetry::archive(archive_node &n) const
 DEFAULT_UNARCHIVE(symmetry)
 
 //////////
-// functions overriding virtual functions from bases classes
+// functions overriding virtual functions from base classes
 //////////
 
 int symmetry::compare_same_type(const basic & other) const
@@ -154,6 +154,8 @@ void symmetry::print(const print_context & c, unsigned level = 0) const
        if (children.empty()) {
                if (indices.size() > 0)
                        c.s << *(indices.begin());
+               else
+                       c.s << "none";
        } else {
                switch (type) {
                        case none: c.s << '!'; break;