]> www.ginac.de Git - ginac.git/blobdiff - ginac/print.cpp
- put everything in "GiNaC" namespace
[ginac.git] / ginac / print.cpp
index 2d3a936341b292e036f66f8f6cb7165ff34e6e61..899c21b0d02aacb85ce45e83056460a8f9f94606 100644 (file)
@@ -1,8 +1,9 @@
 /** @file print.cpp
  *
  *  The methods .print() are responsible for the nice default-output of
- *  objects.  All related helper-functions go in here as well.
- *
+ *  objects.  All related helper-functions go in here as well. */
+
+/*
  *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -38,6 +39,9 @@
 #include "relational.h"
 #include "series.h"
 #include "symbol.h"
+#include "debugmsg.h"
+
+namespace GiNaC {
 
 void ex::print(ostream & os, unsigned upper_precedence) const
 {
@@ -317,3 +321,5 @@ void matrix::print(ostream & os, unsigned upper_precedence) const
     }
     os << m[row*col-1] << "]] ]]";
 }
+
+} // namespace GiNaC