From a4d578bd5d5d5b925d8262284a741e44895e718f Mon Sep 17 00:00:00 2001 From: Felix Erben Date: Fri, 1 Mar 2019 14:44:39 +0000 Subject: [PATCH] baryons work now??? --- Grid/qcd/utils/A2Autils.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Grid/qcd/utils/A2Autils.h b/Grid/qcd/utils/A2Autils.h index d5feb275..da4fac22 100644 --- a/Grid/qcd/utils/A2Autils.h +++ b/Grid/qcd/utils/A2Autils.h @@ -178,7 +178,7 @@ void A2Autils::NucleonFieldMom(Eigen::Tensor &mat, for(int i=0;i::NucleonFieldMom(Eigen::Tensor &mat, // C = i gamma_2 gamma_4 => C gamma_5 = - i gamma_1 gamma_3 auto gv3 = Gamma(Gamma::Algebra::SigmaXZ) * v3; SpinVector_v vv; - - vv()()() = pv1()()(0) * v2()()(1) * gv3()()(2) //Cross product - - pv1()()(0) * v2()()(2) * gv3()()(1) - + pv1()()(1) * v2()()(2) * gv3()()(0) - - pv1()()(1) * v2()()(0) * gv3()()(2) - + pv1()()(2) * v2()()(0) * gv3()()(1) - - pv1()()(2) * v2()()(1) * gv3()()(0); + for(int s1=0;s1