1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 17:25:37 +01:00

NAMESPACE & format

This commit is contained in:
paboyle 2018-01-14 21:52:27 +00:00
parent 1fbab4032b
commit 59ba9ff3bb

View File

@ -37,7 +37,7 @@ See the full license in the file "LICENSE" in the top level distribution directo
////////////////////////////////////////////////////////////////////////////////
#include <Grid/qcd/spin/Gamma.h>
namespace Grid {
NAMESPACE_BEGIN(Grid);
// Dirac algebra adjoint operator (not in QCD:: to overload other adj)
inline QCD::Gamma adj(const QCD::Gamma &g)
@ -45,7 +45,7 @@ inline QCD::Gamma adj(const QCD::Gamma &g)
return QCD::Gamma (QCD::Gamma::adj[g.g]);
}
namespace QCD {
// Dirac algebra mutliplication operator
inline Gamma operator*(const Gamma &g1, const Gamma &g2)
@ -227,6 +227,6 @@ inline auto operator * (const iMatrix<vtype, N> &arg, const GammaL &gl)
return ret;
}
}}
NAMESPACE_END(Grid);
#endif