print_tree prints the object addresses
[ginac.git] / ginac / function.pl
index 749df21dc31e1e332f449541b6c065145bc13bb1..7e5d0dac0307ca6db6dbe4427a0461bc9bfb5871 100755 (executable)
@@ -735,7 +735,7 @@ next_context:
                if (is_a<print_tree>(c)) {
 
                        c.s << std::string(level, ' ') << class_name() << " "
-                           << opt.name
+                           << opt.name << " @" << this
                            << std::hex << ", hash=0x" << hashvalue << ", flags=0x" << flags << std::dec
                            << ", nops=" << nops()
                            << std::endl;