Name: Vladyslav Shtabovenko Date: 12/21/16-10:46:38 AM Z


Hi,

thanks, should be now fixed:

<https://github.com/FeynCalc/feyncalc/commit/b78c3c4c47c748e3ad6c37ea349d190b1ff4a271>

Please rerun the automatic installer to
have the fix applied.

P.S. In general, to be on the safe side, I would recommend
to restart Mathematica, if the kinematics is changed. Earlier
versions of FeynCalc massively employed caching (“memoization”
in Mathematica lingo) to speed things up. While caching on its own
is ok, issues like the one you observed appear when scalar products
are assigned to particular values and then reassigned to other values.

I implemented a safe caching mechanism some time ago

<https://github.com/FeynCalc/feyncalc/blob/master/FeynCalc/Shared/CacheManagement.m>

but it is a lot of work to adjust things on existing functions (especially
those for which we don’t have many unit tests), so I’m
doing it succesively. Of course, for new functions like ToPaVe caching
should work without any issues.

Cheers,
Vladyslav

Am 21.12.2016 um 04:30 schrieb Michael Park:
> Hi. I seem to be having some issues getting the arguments to PaVe functions to change their arguments. Given the input:
>
> FCClearScalarProducts[];
> ScalarProduct[k1, k1] = SMP[“m_W”]^2;
> amp = SPD[k1, k1] FAD[{q}, {q - k1, m}, {q, m}];
> int = TID[amp, q];
> int;
> % // ExpandScalarProduct;
> % // ToPaVe[#, q] &
>
> FCClearScalarProducts[];
> ScalarProduct[k1, k1] = SMP[“m_Z”]^2;
> amp = SPD[k1, k1] FAD[{q}, {q - k1, m}, {q, m}];
> int = TID[amp, q];
> int;
> % // ExpandScalarProduct;
> % // ToPaVe[#, q] &
>
> The output is:
>
> (i \pi^2 mW^2)/m^2 (B0(mW^2, m^2, m^2) - B0(mW^2, 0, m^2))
>
> (i \pi^2 mZ^2)/m^2 (B0(mW^2, m^2, m^2) - B0(mW^2, 0, m^2))
>
> The issue is FCClearScalarProducts appears to change the k1^2 to mZ^2 in the coefficient of the function, but not in the argument of the PaVe integral. I was wondering if there was any way to clear this manually? Thanks so much for your time!
>
>