]> www.ginac.de Git - ginac.git/blobdiff - ginac/constant.cpp
fixed another power::series() bug [Alexei Sheplyakov]
[ginac.git] / ginac / constant.cpp
index c8c930406f40861c23b39abc4720151a1074af68..32ceb61e3a9589dd4433dd8b04072993f2ebe7ff 100644 (file)
@@ -3,7 +3,7 @@
  *  Implementation of GiNaC's constant types and some special constants. */
 
 /*
- *  GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2004 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -118,7 +118,7 @@ void constant::do_print(const print_context & c, unsigned level) const
 
 void constant::do_print_tree(const print_tree & c, unsigned level) const
 {
-       c.s << std::string(level, ' ') << name << " (" << class_name() << ")"
+       c.s << std::string(level, ' ') << name << " (" << class_name() << ")" << " @" << this
            << std::hex << ", hash=0x" << hashvalue << ", flags=0x" << flags << std::dec
            << std::endl;
 }