]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.pl
- revamped indexed objects
[ginac.git] / ginac / structure.pl
index e46bf4b2bd3d2224f32acfe6ddab7c5be1dec9ef..9a734c907acd0dac808457d4c4a3842c231cef49 100755 (executable)
@@ -331,13 +331,13 @@ basic * ${STRUCTURE}::duplicate() const
 void ${STRUCTURE}::printraw(ostream & os) const
 {
        debugmsg("${STRUCTURE} printraw",LOGLEVEL_PRINT);
-       os << "${STRUCTURE}()";
+       os << class_name() << "()";
 }
 
 void ${STRUCTURE}::print(ostream & os, unsigned upper_precedence) const
 {
        debugmsg("${STRUCTURE} print",LOGLEVEL_PRINT);
-       os << "${STRUCTURE}()";
+       os << class_name() << "()";
 }
 
 void ${STRUCTURE}::printtree(ostream & os, unsigned indent) const