Hi,
I am trying to use xPand to compute vector perturbations for a generalized action and have encountered a problem using ToxPand on a Projected Tensor.
I defined a vector field A[ -b ] using DefProjectedTensor[Av[ -b ], h] and want to expand the perturbations. Using ToxPand[ A[ -b], dg, u, du, h, "AnyGauge", order], where I use A[ -b ] with a down index works. But ToxPand[ A[ b ], dg, u, du, h, "AnyGauge", order] with an up index in A[ b ] results in an error.
Doing ToxPand step-by-step, I found that the error occurs when applying ExpandPerturbation[ .... ]
Does anyone know, how to solve this problem? A minimal example is attached.
Thanks a lot!
Lara