We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimal working example (cf. https://wolfram.com/xid/0giraq-6woldg)
Cases[FeynCalc`Contract`Private`times[ Pair[LorentzIndex[mu], Momentum[p]], Pair[LorentzIndex[mu], Momentum[p]]], (LorentzIndex | CartesianIndex)[ FeynCalc`Contract`Private`i_, ___] :> FeynCalc`Contract`Private`i, Infinity, Heads -> True]
MMa:
In[1]:= Cases[FeynCalc`Contract`Private`times[ Pair[LorentzIndex[mu], Momentum[p]], Pair[LorentzIndex[mu], Momentum[p]]], (LorentzIndex | CartesianIndex)[ FeynCalc`Contract`Private`i_, ___] :> FeynCalc`Contract`Private`i, Infinity, Heads -> True] Out[1]= {mu, mu}
Mathics
In[5]:= Cases[FeynCalc`Contract`Private`times[ Pair[LorentzIndex[mu], Momentum[p]], Pair[LorentzIndex[mu], Momentum[p]]], (LorentzIndex | CartesianIndex)[ FeynCalc`Contract`Private`i_, ___] :> FeynCalc`Contract`Private`i, Infinity, Heads -> True] Out[5]= Cases[FeynCalc`Contract`Private`times[Pair[LorentzIndex[mu], Momentum[p]], Pair[LorentzIndex[mu], Momentum[p]]], (LorentzIndex | CartesianIndex)[FeynCalc`Contract`Private`i_, ___] :> FeynCalc`Contract`Private`i, Infinity, Heads -> True]
Relevant for #1174
The text was updated successfully, but these errors were encountered:
Remove TODO, unused remnants and tidy
42114d8
And run black over the file. Fixes #1302
Successfully merging a pull request may close this issue.
Minimal working example (cf. https://wolfram.com/xid/0giraq-6woldg)
MMa:
Mathics
Relevant for #1174
The text was updated successfully, but these errors were encountered: