X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Findexed.h;h=a731769bd9f5c9826ead34ae4077094f4fb71500;hp=3707e6290184d56d613b135a3ab0c7536a3df1ca;hb=afdd7fa8c6c0a587f7c80789198551383e8beb7b;hpb=48b41ea321ed9fa6115a1061d1a1d2f8d8ad0400 diff --git a/ginac/indexed.h b/ginac/indexed.h index 3707e629..a731769b 100644 --- a/ginac/indexed.h +++ b/ginac/indexed.h @@ -26,7 +26,9 @@ #include #include +#ifndef NO_GINAC_NAMESPACE namespace GiNaC { +#endif // ndef NO_GINAC_NAMESPACE /** Base class for non-commutative indexed objects */ class indexed : public exprseq @@ -94,6 +96,8 @@ inline const indexed &ex_to_indexed(const ex &e) return static_cast(*e.bp); } +#ifndef NO_GINAC_NAMESPACE } // namespace GiNaC +#endif // ndef NO_GINAC_NAMESPACE #endif // ndef __GINAC_INDEXED_H__