Skip to content

Commit

Permalink
Only define curvature relations for the symmetrized Riemann tensor wh…
Browse files Browse the repository at this point in the history
…en the curvature is non-vanishing.
  • Loading branch information
teake committed Jul 27, 2016
1 parent 91cfe93 commit 48018f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xAct/xTras/xTensor.m
Expand Up @@ -570,7 +570,7 @@
]
];
(* Curvature rules for the symmetrized Riemann tensor. *)
If[metricQ && !torsionQ,
If[curvQ && metricQ && !torsionQ,
cd /: CurvatureRelations[cd, SymRiemann] = Join[
MakeRule[
{
Expand Down

0 comments on commit 48018f2

Please sign in to comment.