]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.cpp
- revamped indexed objects
[ginac.git] / ginac / structure.cpp
index 35b53e3c0c2eb807cd01370369e350451cbe3470..e9c3b0213f45cb9055cbd2f3404604b4325328b7 100644 (file)
@@ -92,14 +92,14 @@ void structure::printraw(std::ostream & os) const
 {
        debugmsg("structure printraw",LOGLEVEL_PRINT);
 
-       os << "structure(hash=" << hashvalue << ",flags=" << flags << ")";
+       os << class_name() << "(hash=" << hashvalue << ",flags=" << flags << ")";
 }
 
 void structure::print(std::ostream & os, unsigned upper_precedence) const
 {
        debugmsg("structure print",LOGLEVEL_PRINT);
 
-       os << "structure()";
+       os << class_name() << "()";
 }
 
 void structure::printtree(std::ostream & os, unsigned indent) const