1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 07:17:06 +01:00

Hadrons: modules remember their factory registration name

This commit is contained in:
2016-12-14 17:59:45 +00:00
parent 013e710c7d
commit 3af663e17b
17 changed files with 87 additions and 74 deletions

View File

@ -47,7 +47,7 @@ public:
virtual void execute(void);
};
typedef TBaryon<FIMPL, FIMPL, FIMPL> Baryon;
MODULE_REGISTER_NS(Baryon, ARG(TBaryon<FIMPL, FIMPL, FIMPL>), MContraction);
/******************************************************************************
* TBaryon implementation *
@ -97,8 +97,6 @@ void TBaryon<FImpl1, FImpl2, FImpl3>::execute(void)
END_MODULE_NAMESPACE
MODULE_REGISTER_NS(Baryon, MContraction);
END_HADRONS_NAMESPACE
#endif // Hadrons_Baryon_hpp_