]> www.ginac.de Git - ginac.git/blobdiff - ginac/simp_lor.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / simp_lor.cpp
index 05f96ae11e880881cba88b868d23cac349c25ca9..a102b74e4d3a36abe4b9852c0384e39e5a43acfd 100644 (file)
@@ -34,7 +34,9 @@
 #include "symbol.h"
 #include "debugmsg.h"
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 //////////
 // default constructor, destructor, copy constructor assignment operator and helpers
@@ -513,4 +515,6 @@ spmapkey scalar_products::make_key(simp_lor const & v1, simp_lor const & v2)
     return spmapkey(strstrpair(v1.name,v2.name),anon);
 }
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE