]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.cpp
- replaced the various print*() member functions by a single print() that
[ginac.git] / ginac / structure.cpp
index 0bd1d4fb6e869e178a760470df0af0967d721e3a..c084096c49ff3d8509924d87ef4174e0ff934c89 100644 (file)
@@ -65,10 +65,8 @@ void structure::printtree(std::ostream & os, unsigned indent) const
 {
        debugmsg("structure printtree",LOGLEVEL_PRINT);
 
-       os << std::string(indent,' ') << "structure "
-          << "hash=" << hashvalue
-          << " (0x" << std::hex << hashvalue << std::dec << ")"
-          << ", flags=" << flags << std::endl;
+       os << std::string(indent,' ') << class_name() << std::hex << ", hash=0x" << hashvalue << ", flags=0x" << flags << std::dec
+          << std::endl;
 }
 
 void structure::printcsrc(std::ostream & os, unsigned type, unsigned upper_precedence) const