diff --git a/Grid/qcd/utils/A2Autils.h b/Grid/qcd/utils/A2Autils.h index 84c5fe60..60f27475 100644 --- a/Grid/qcd/utils/A2Autils.h +++ b/Grid/qcd/utils/A2Autils.h @@ -100,7 +100,6 @@ public: int orthogdim); #endif }; - /* template template @@ -122,6 +121,8 @@ void A2Autils::BaryonField(TensorType &mat, typedef iSpinMatrix SpinMatrix_v; typedef iSpinMatrix SpinMatrix_s; + typedef iSpinColourMatrix SpinColourMatrix_v; + int oneBlock = mat.dimension(3); int twoBlock = mat.dimension(4); int threeBlock = mat.dimension(5); @@ -180,13 +181,16 @@ void A2Autils::BaryonField(TensorType &mat, auto three_k = three[j]._odata[ss]; - SpinMatrix_v vv; + SpinColourMatrix_v vv; for(int s1=0;s1