]> www.ginac.de Git - ginac.git/blobdiff - ginac/lortensor.cpp
* ginac/registrar.h: dtor is inlined now.
[ginac.git] / ginac / lortensor.cpp
index e8f4f87312d9070d5e2b826affbeddb40f60bf37..1dae91a6dcb2b1f88e4f4c35ac50d7a29efd57d1 100644 (file)
@@ -40,9 +40,7 @@
 #include "utils.h"
 #include "config.h"
 
-#ifndef NO_NAMESPACE_GINAC
 namespace GiNaC {
-#endif // ndef NO_NAMESPACE_GINAC
 
 GINAC_IMPLEMENT_REGISTERED_CLASS(lortensor, indexed)
 
@@ -554,7 +552,7 @@ ex simplify_lortensor_mul(const ex & m)
 ex simplify_lortensor(const ex & e)
 {
        // all simplification is done on expanded objects
-       ex e_expanded=e.expand();
+       ex e_expanded = e.expand();
 
        // simplification of sum=sum of simplifications
        if (is_ex_exactly_of_type(e_expanded,add)) {
@@ -574,6 +572,4 @@ ex simplify_lortensor(const ex & e)
        return e_expanded;
 }
 
-#ifndef NO_NAMESPACE_GINAC
 } // namespace GiNaC
-#endif // ndef NO_NAMESPACE_GINAC