Name: Vladyslav Shtabovenko (email_not_shown)
Date: 12/18/14-06:49:56 PM Z

Well, in principle there are infinitely many ways to obtain wrong
results by using wrong syntax, so it would take a lot of work to put
warning signs around all potential pitfalls.

But at least in your case it shouldn't be that difficult to catch
missing dots. So I added this to the development version


It is not a silver bullet and is very basic, but at least things like

TR[GA[a]GA[b]GA[c]GA[d]] or TR[GA[a,b]GA[c,d]] or TR[GA[a,b]GA[c]]

now generate

DiracTrace::noncom: Wrong syntax! The Dirac trace of xxx
contains Dirac matrices multiplied via Times (commutative
multiplication) instead of DOT (non-commutative multiplication).
Evaluation aborted!

Hope that helps.


On 18/12/14 14:45, Sam wrote:
> Thanks very much for your help. Sometimes I do put in the dots and sometimes I don't, and I didn't realize it was so crucial. It is a little worrisome that there is no error message: it evaluates either way, but sometimes with the wrong answer.
> Anyway, thanks again for your help,
> Sam

This archive was generated by hypermail 2b29 : 02/22/17-12:20:03 AM Z CET