]> www.ginac.de Git - ginac.git/blobdiff - ginac/printraw.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / printraw.cpp
index d1aac63e1e5c86ea1be6f95248ae10612b774260..331622a7c93b244afdde980c55da7ba7aab3544e 100644 (file)
 #include "relational.h"
 #include "series.h"
 #include "symbol.h"
+#include "debugmsg.h"
+
+#ifndef NO_GINAC_NAMESPACE
+namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 void ex::printraw(ostream & os) const
 {
     debugmsg("ex printraw",LOGLEVEL_PRINT);
-    ASSERT(bp!=0);
+    GINAC_ASSERT(bp!=0);
     os << "ex(";
     bp->printraw(os);
     os << ")";
@@ -221,3 +226,7 @@ void matrix::printraw(ostream & os) const
     }
     os << m[row*col-1] << "))";
 }
+
+#ifndef NO_GINAC_NAMESPACE
+} // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE