I was expecting the above code to yield the result of 4, but instead the following is returned,
\hat{g}^{a b} \hat{g}_{a b}
Is Accent only intended to be used with scalar objects? There is an easy enough work around for this by just substituting tensor objects with accents to the same objects without accents, performing the calculation and then substituting back again.
It appears that the Accent property does not work with tensor objects, for example,
I was expecting the above code to yield the result of 4, but instead the following is returned,
\hat{g}^{a b} \hat{g}_{a b}
Is Accent only intended to be used with scalar objects? There is an easy enough work around for this by just substituting tensor objects with accents to the same objects without accents, performing the calculation and then substituting back again.