]> www.ginac.de Git - ginac.git/blobdiff - ginac/matrix.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / matrix.cpp
index bacacad8889a4199c7a07576470903f6586277e7..43288df46ab90ecd6c6ad6fc13c12dd7915839af 100644 (file)
@@ -26,7 +26,9 @@
 #include "matrix.h"
 #include "debugmsg.h"
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 //////////
 // default constructor, destructor, copy constructor, assignment operator
@@ -872,4 +874,6 @@ int matrix::pivot(int ro)
 const matrix some_matrix;
 type_info const & typeid_matrix=typeid(some_matrix);
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE