]> www.ginac.de Git - ginac.git/blobdiff - ginac/lorentzidx.h
- gamma() -> Gamma().
[ginac.git] / ginac / lorentzidx.h
index c5eade7368466ad293568766bfcadb8d501a7ab1..6cd5fc2a7b8f089c5430c9fb6264ef5e4b704e60 100644 (file)
 
 #include <string>
 #include <vector>
-#include <ginac/idx.h>
+#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<const lorentzidx &>(*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__