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

Gamma adj fix: now in Grid namespace to avoid collisions

This commit is contained in:
2017-01-30 10:53:04 -08:00
parent a0cfbb6e88
commit 1140573027
2 changed files with 8 additions and 15 deletions

View File

@ -51,14 +51,6 @@ namespace QCD {
static const int Nhs=2; // half spinor
static const int Nds=8; // double stored gauge field
static const int Ngp=2; // gparity index range
// if no adj funtion in QCD:: redirect to Grid::
// this avoids QCD:: adj functions to screen the Grid:: ones
template <typename T>
inline auto adj(T x)->decltype(Grid::adj(x))
{
return Grid::adj(x);
}
//////////////////////////////////////////////////////////////////////////////
// QCD iMatrix types