Default value of $CommuteCovDsOnScalars

21 views
Skip to first unread message

Sukruti

unread,
Sep 4, 2024, 1:25:53 PMSep 4
to xAct Tensor Computer Algebra
Hello,

The documentation for the command $CommuteCovDsOnScalars says "The default initial variable is True." But every time I execute this command, its output shows "False". This can also be seen in the attached notebook.

Why is this discrepancy there?

Best,
Sukruti
CovDsOnScalars.nb

Jose

unread,
Sep 4, 2024, 1:29:22 PMSep 4
to xAct Tensor Computer Algebra
Hi,

The default value in xTensor is True. If you only load xTensor and evaluate this variable, you'll get True. But you are also loading xTras in this notebook. xTras loads Invar, and Invar changes the default value of this variable. Note the last message line when loading Invar:

** Variable $CommuteCovDsOnScalars changed from True to False

Cheers,
Jose.

Sukruti

unread,
Sep 4, 2024, 1:42:59 PMSep 4
to xAct Tensor Computer Algebra
Oh I see! Thanks!

Cheers,
Sukruti

Reply all
Reply to author
Forward
0 new messages