Currently, the left hand side yields the correct value while the right hand side sums the diagonal components of the array representing the tensor literally.
However this is only an issue with contractions on a single tensor (not a product of tensors), and when the contraction yields a scalar. Meaning that the calculation of the Ricci tensor is fine, but the Ricci scalar is not.
For some reason the API has it that
Currently, the left hand side yields the correct value while the right hand side sums the diagonal components of the array representing the tensor literally.
However this is only an issue with contractions on a single tensor (not a product of tensors), and when the contraction yields a scalar. Meaning that the calculation of the Ricci tensor is fine, but the Ricci scalar is not.