]> www.ginac.de Git - ginac.git/blobdiff - ginac/idx.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / idx.cpp
index f57a5ae4bdc6ac71067d888d37c1ddead3ca59f4..94616ce62ba7c4ba4335996b25a288f06e310b0b 100644 (file)
@@ -29,7 +29,9 @@
 #include "utils.h"
 #include "debugmsg.h"
 
 #include "utils.h"
 #include "debugmsg.h"
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 //////////
 // default constructor, destructor, copy constructor assignment operator and helpers
 
 //////////
 // default constructor, destructor, copy constructor assignment operator and helpers
@@ -446,4 +448,6 @@ ex subs_indices(ex const & e, exvector const & idxv_subs,
     return res;
 }
 
     return res;
 }
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE