Closed HBelusca closed 2 years ago
EDIT: A fix proposed there:
https://github.com/FeynCalc/feyncalc/commit/dda39f58a23eaa0d8ac931bb4fcbf67daa3b00cc#r70562127
the code should read: MomentumExpand[{prs}]
, instead of MomentumExpand[prs]
Many thanks for the bug report, this should be now fixed.
BTW,
In[3]:= I*Pi^2*GenPaVe[{0}, {{0, 0}, {-Momentum[p, D], 0}}] // PaXEvaluateUV[#, q] &
Out[3]= (I \[Pi]^2)/Subscript[\[CurlyEpsilon], UV]
is probably your personal fork of FeynHelpers, since the standard version doesn't support GenPaVe ;)
oops indeed you're right xd
EDIT: Confirmed bug fixed, thanks!
Description
Calling
ToPaVe
on aFAD
expression, with the optionGenPaVe -> True
, gives a result that contains a spuriousMomentumExpand
function and that forms an invalid syntax for the resultingGenPaVe
function.12.3.1 for Microsoft Windows (64-bit) (June 24, 2021)
FeynCalc 10.0.0 (Development version) - Commit d78187b3ab6fcb28d15f2e8d86b67704b4b81940
(version from April 2)Presence of Package-X
Minimal (non-)working example
Applying
PaXEvaluateUV[#, q]&
on that result then fails:Expected result: the buggy
MomentumExpand
function head should beList
instead, as required by the GenPaVe syntax; the result should be:so that applying
PaXEvaluateUV
gives the well-known result