Skip to content

Commit 984a4d4

Browse files
t-hahnvsht
authored andcommitted
FeynArts 3.11; Last update: 3 Aug 20;
* Mini-fix for Mathematica 12.1
1 parent ef08caa commit 984a4d4

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

FeynArts.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
This is FeynArts, Version 3.11
44
Copyright by Sepp Kueblbeck, Hagen Eck, and Thomas Hahn 1991-2020
5-
last modified 18 May 20 by Thomas Hahn
5+
last modified 3 Aug 20 by Thomas Hahn
66
77
Release notes:
88
@@ -1496,7 +1496,7 @@ derived by flip and can have values True (edit the original shape
14961496

14971497
$FeynArtsVersionNumber = 3.11
14981498

1499-
$FeynArtsVersion = "FeynArts 3.11 (18 May 2020)"
1499+
$FeynArtsVersion = "FeynArts 3.11 (3 Aug 2020)"
15001500

15011501
$FeynArtsDir = DirectoryName[
15021502
$InputFileName /. HoldPattern[$InputFileName] :>

FeynArts/Graphics.m

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*
22
Graphics.m
33
Graphics routines for FeynArts
4-
last modified 31 Oct 19 th
4+
last modified 3 Aug 20 th
55
*)
66

77
Begin["`Graphics`"]
@@ -283,9 +283,7 @@
283283
epsf = ""
284284

285285
Render[(g_FeynArtsGraphics)[l__List, o___Rule], format___String, opt___Rule] :=
286-
Block[ {None = 0, Forward = 1, Backward = -1},
287-
DoRender[format][o, opt][g/@ {l}]
288-
]
286+
DoRender[format][o, opt][g/@ {l} /. {None -> 0, Forward -> 1, Backward -> -1}]
289287

290288
DoRender["EPS"][opt___][g_] :=
291289
Block[ {PaperSize = imgsize, epsf = " EPSF-3.0"},

FeynArts311.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
This is FeynArts, Version 3.11
44
Copyright by Sepp Kueblbeck, Hagen Eck, and Thomas Hahn 1991-2020
5-
last modified 18 May 20 by Thomas Hahn
5+
last modified 3 Aug 20 by Thomas Hahn
66
77
Release notes:
88
@@ -1496,7 +1496,7 @@ derived by flip and can have values True (edit the original shape
14961496

14971497
$FeynArtsVersionNumber = 3.11
14981498

1499-
$FeynArtsVersion = "FeynArts 3.11 (18 May 2020)"
1499+
$FeynArtsVersion = "FeynArts 3.11 (3 Aug 2020)"
15001500

15011501
$FeynArtsDir = DirectoryName[
15021502
$InputFileName /. HoldPattern[$InputFileName] :>

Models/FV.mod

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"upgrades" ordinary 2x2 to full 6x6 sfermion
55
(3x3 sneutrino) mixing
66
by Thomas Hahn and Jose Ignacio Illana
7-
last modified 9 Jan 19 by th
7+
last modified 18 May 20 by th
88
*)
99

1010

@@ -28,7 +28,7 @@ M$ClassesDescription = M$ClassesDescription /.
2828
ComposedChar[a_, b_, d_] :> ComposedChar[a, b, Null, d])
2929

3030

31-
TheMass[ S[t:12 | 13 | 14, {s_, g_, ___}] ] =.
31+
DownValues[TheMass] = DownValues[TheMass] /. Thread[$FV -> -$FV]
3232

3333
Scan[(TheMass[ S[#, {as_, ___}] ] := MASf[as, # - 10])&, $FV]
3434

@@ -76,7 +76,7 @@ Block[ {sel, new},
7676
sel[r_ d:_CKM | _CKMC] := sAf[d, 1][r];
7777
new = sel[rhs /. Conjugate[CKM[j__]] :> CKMC[j]] /.
7878
CKMC[j__] :> Conjugate[CKM[j]];
79-
If[ !FreeQ[new, af], Message[ReplaceCoupling::warning, n, Af] ];
79+
If[ !FreeQ[new, af], Message[ModifyCoupling::warning, n, Af] ];
8080
lhs == new
8181
] /; !FreeQ[rhs, af]
8282

@@ -125,20 +125,22 @@ Block[ {sel, new},
125125
sel[IndexDelta[s, s2_]] := IndexDelta[as, s2] IndexDelta[j, 1];
126126
sel[usf[t, _][s, s2_]] := UASf[t][as, j + 3 (s2 - 1)];
127127
new = ISum[sel[expr], {j, 3}];
128-
If[ !FreeQ[new, s], Message[ReplaceCoupling::warning, n, s] ];
128+
If[ !FreeQ[new, s], Message[ModifyCoupling::warning, n, s] ];
129129
new /. ISum -> IndexSum
130130
]
131131

132132

133133
ISum[IndexDelta[a_, b_] r_, {a_, _}] := r /. a -> b
134134

135135

136-
ReplaceCoupling::warning = "Coupling #`` still contains ``."
136+
ModifyCoupling::warning = "Coupling #`` still contains ``."
137137

138-
ReplaceCoupling[c_, {n_}] := ReplaceSf[ReplaceAf[c, n], n]
138+
Off[ModifyCoupling::warning]
139139

140+
ModifyCoupling[c_, {n_}] := ReplaceSf[ReplaceAf[c, n], n]
140141

141-
M$CouplingMatrices = MapIndexed[ReplaceCoupling,
142+
143+
M$CouplingMatrices = MapIndexed[ModifyCoupling,
142144
M$CouplingMatrices /. {
143145
S[t:$FVsf, s___] :> sf[t, s],
144146
Af[t:$FVf, __] :> af[t],

0 commit comments

Comments
 (0)