]> www.ginac.de Git - ginac.git/blobdiff - ginac/tostring.h
Fix bug in differentiation of a power.
[ginac.git] / ginac / tostring.h
index 4c603330f8d4b099a7169398335b6284e639f978..f81f18b1006b19dea14b4bf947dcb5511f847f60 100644 (file)
@@ -4,7 +4,7 @@
  *  internal header file. */
 
 /*
- *  GiNaC Copyright (C) 1999-2002 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2005 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
@@ -18,7 +18,7 @@
  *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #ifndef __GINAC_TOSTRING_H__
@@ -32,7 +32,7 @@ template<class T>
 std::string ToString(const T & t)
 {
        std::ostringstream buf;
-       buf << t << std::ends;
+       buf << t;
        return buf.str();
 }