X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fsimp_lor.cpp;h=0734439efa10b5b2c68d2b821a68438fceb20bc9;hp=ed79d7535746b3bc65ac3e2d0ae42cced4931f3c;hb=dad107ff48f68d45e72469a8716df375ae145cf3;hpb=3c509d24fde911c9438501bbf3b150c9e89ff538;ds=sidebyside diff --git a/ginac/simp_lor.cpp b/ginac/simp_lor.cpp index ed79d753..0734439e 100644 --- a/ginac/simp_lor.cpp +++ b/ginac/simp_lor.cpp @@ -35,9 +35,7 @@ #include "debugmsg.h" #include "utils.h" -#ifndef NO_NAMESPACE_GINAC namespace GiNaC { -#endif // ndef NO_NAMESPACE_GINAC GINAC_IMPLEMENT_REGISTERED_CLASS(simp_lor, indexed) @@ -436,7 +434,7 @@ ex simplify_simp_lor_mul(const ex & m, const scalar_products & sp) ex simplify_simp_lor(const ex & e, const scalar_products & sp) { // 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)) { @@ -507,6 +505,4 @@ spmapkey scalar_products::make_key(const simp_lor & v1, const simp_lor & v2) return spmapkey(strstrpair(v1.name,v2.name),anon); } -#ifndef NO_NAMESPACE_GINAC } // namespace GiNaC -#endif // ndef NO_NAMESPACE_GINAC