]> www.ginac.de Git - ginac.git/blobdiff - ginac/indexed.cpp
print_tree prints the object addresses
[ginac.git] / ginac / indexed.cpp
index 3fad73f8eb22ae2e533f8b889ac247dafbba5a2e..562ca1d5c6c0bd95dbc0584df003b11cf1b505be 100644 (file)
@@ -237,7 +237,7 @@ void indexed::do_print_latex(const print_latex & c, unsigned level) const
 
 void indexed::do_print_tree(const print_tree & c, unsigned level) const
 {
 
 void indexed::do_print_tree(const print_tree & c, unsigned level) const
 {
-       c.s << std::string(level, ' ') << class_name()
+       c.s << std::string(level, ' ') << class_name() << " @" << this
            << std::hex << ", hash=0x" << hashvalue << ", flags=0x" << flags << std::dec
            << ", " << seq.size()-1 << " indices"
            << ", symmetry=" << symtree << std::endl;
            << std::hex << ", hash=0x" << hashvalue << ", flags=0x" << flags << std::dec
            << ", " << seq.size()-1 << " indices"
            << ", symmetry=" << symtree << std::endl;