X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Florentzidx.h;h=6cd5fc2a7b8f089c5430c9fb6264ef5e4b704e60;hp=c5eade7368466ad293568766bfcadb8d501a7ab1;hb=61434b009f39c40ea85ae7bb4ec14d8d203e2a85;hpb=2565309dd7c38635c191eacf2a4af9b23fc0d310 diff --git a/ginac/lorentzidx.h b/ginac/lorentzidx.h index c5eade73..6cd5fc2a 100644 --- a/ginac/lorentzidx.h +++ b/ginac/lorentzidx.h @@ -25,14 +25,16 @@ #include #include -#include +#include "idx.h" -#ifndef NO_GINAC_NAMESPACE +#ifndef NO_NAMESPACE_GINAC namespace GiNaC { -#endif // ndef NO_GINAC_NAMESPACE +#endif // ndef NO_NAMESPACE_GINAC class lorentzidx : public idx { + GINAC_DECLARE_REGISTERED_CLASS(lorentzidx, idx) + friend class simp_lor; friend class scalar_products; @@ -91,8 +93,8 @@ inline const lorentzidx &ex_to_lorentzidx(const ex &e) return static_cast(*e.bp); } -#ifndef NO_GINAC_NAMESPACE +#ifndef NO_NAMESPACE_GINAC } // namespace GiNaC -#endif // ndef NO_GINAC_NAMESPACE +#endif // ndef NO_NAMESPACE_GINAC #endif // ndef __GINAC_LORENTZIDX_H__