Closed Zhongyuan-Liu closed 3 months ago
Thanks for the bug report. I think this should be now fixed. Could you please test the dev version to make sure it covers all relevant cases?
I have downloaded the master branch and tested.
The bug doesn't seem to have been completely resolved. The following code
DiracTrace[Dot[GSD[p3 + p4] + m, GAD[mu], GAD[nu]]]
FCGetFreeIndices[FullForm[FCI[%[[1]]]], {LorentzIndex}]
still gives a wrong result, although other examples are correct now. If I get rid of the FullForm[]
or the mass m
, it gives correct result.
Moreover, I wonder why the output become plain text
rather than previous easy reading
.
Does it a bug? Or just I should use some function to set the format of my output result?
If I get rid of the FullForm[] or the mass m, it gives correct result.
You answered your question yourself. Never wrap FullForm over expressions to be further processed in Mathematica. It's only for displaying something. The same goes for TraditionalForm, StandardForm, MatrixForm etc.
This works as expected
DiracTrace[Dot[GSD[p3 + p4] + m, GAD[mu], GAD[nu]]]
FCGetFreeIndices[FCI[%], {LorentzIndex}]
OK! Thank you for your help!
13.3.1 for Linux x86 (64-bit) (July 24, 2023)
10.0.0
No
But I have tried in another computer, whose FeynCalc is a stable version.It seems to have no problem. The information is include in the following attachment.
The examples are included in the following attachment. I cannot upload a *.nb file, so I change the file name into .md. Untitled-2.md