mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-17 07:17:06 +01:00
gammas: adjoint implemented as a symbolic operation
This commit is contained in:
@ -51,6 +51,14 @@ 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
|
||||
|
Reference in New Issue
Block a user