]> www.ginac.de Git - ginac.git/blobdiff - ginac/print.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / print.cpp
index f90a40ce89fa86aa9acb01e3ca15bd37ff70ad47..c1e9841c9e4858fa409c2bbcb0336db3bc6a51d0 100644 (file)
@@ -41,7 +41,9 @@
 #include "symbol.h"
 #include "debugmsg.h"
 
 #include "symbol.h"
 #include "debugmsg.h"
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 void ex::print(ostream & os, unsigned upper_precedence) const
 {
 
 void ex::print(ostream & os, unsigned upper_precedence) const
 {
@@ -259,4 +261,6 @@ void matrix::print(ostream & os, unsigned upper_precedence) const
     os << m[row*col-1] << "]] ]]";
 }
 
     os << m[row*col-1] << "]] ]]";
 }
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE