]> www.ginac.de Git - ginac.git/blobdiff - ginac/isospin.h
- Output of floats is now in a more beautiful form.
[ginac.git] / ginac / isospin.h
index 0318360f30a8e60aa8dfbb8fa504cb3d451b1bfd..0cc29bc71d297bf2d363f0425de58d1ea63cfb6d 100644 (file)
 #define __GINAC_ISOSPIN_H__
 
 #include <string>
-#include <ginac/indexed.h>
+#include "indexed.h"
 
-#ifndef NO_GINAC_NAMESPACE
+#ifndef NO_NAMESPACE_GINAC
 namespace GiNaC {
-#endif // ndef NO_GINAC_NAMESPACE
+#endif // ndef NO_NAMESPACE_GINAC
 
 /** Base class for isospin object */
 class isospin : public indexed
 {
+    GINAC_DECLARE_REGISTERED_CLASS(isospin, indexed)
+
 // member functions
 
     // default constructor, destructor, copy constructor assignment operator and helpers
@@ -91,8 +93,8 @@ inline const isospin &ex_to_isospin(const ex &e)
        return static_cast<const isospin &>(*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_ISOSPIN_H__