commit 3851f69fa43d983f6e85c7a82bb0aee1b005d688
parent d45cf66bdfe53d22fe6cfdb7229b21212216549b
Author: Bakar Chargeishvili <bakar@bcharge.de>
Date: Wed, 4 May 2022 14:13:54 +0200
Correct the sign mistake
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/webs.c b/webs.c
@@ -120,10 +120,10 @@ main(int argc, char *argv[])
else if (argc != 1)
die("usage: webs [-v]");
- char *initial[] = {"g","g"};
+ char *initial[] = {"q","qbar"};
//char *initial[] = {"q","qbar"};
//char *final[] = {"q","qbar"};
- char *final[] = {"q","qbar", "g"};
+ char *final[] = {"q","qbar", "q", "qbar"};
//char *final[] = {"q","qbar", "q", "qbar", "q", "qbar","q", "qbar","q", "qbar","q","qbar", "q", "qbar", "q", "qbar","q", "qbar"};
FILE *fcol = fopen("colorFactors.h","w");
@@ -217,7 +217,7 @@ main(int argc, char *argv[])
}
else if(Legs[emitterLegId].init && !Legs[absorberLegId].init)
{
- delta1 = "+";
+ delta1 = "-";
delta2 = "-";
if(!strcmp(Legs[emitterLegId].name,"g"))
Delta1 = "-";
@@ -240,7 +240,6 @@ main(int argc, char *argv[])
if (Legs[emitterLegId].init && !strcmp(Legs[emitterLegId].name,"q")){
sprintf(color+strlen(color), "SUNT(Glu99,Col%d%d,Col%d)*",emitterLegId,emitterNxtId,emitterLegId);
- sprintf(kin+strlen(kin), "v%d(n1)/(v%d.l)*",emitterLegId,emitterLegId);
}
else if (!Legs[emitterLegId].init && !strcmp(Legs[emitterLegId].name,"q")){
sprintf(color+strlen(color), "SUNT(Glu99,Col%d,Col%d%d)*",emitterLegId,emitterLegId,emitterNxtId);