Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
+1 vote

I tried the example in the manual but rieman to ricci doesn't seem to work

from cdb.relativity.abstract import * 
from cdb.core.manip import * 
{a,b,c,d,e,f,g,m,n,p,q,r,s,t,u,v,w,a,b,c,d,e,f}::Indices(vector).
R_{m n p q}::RiemannTensor;
ex:= R^{a}_{b c a} - R^{a}_{b a c};
riemann_to_ricci(ex);

The code returns none

in General questions by

1 Answer

+2 votes

That's a bug, thanks for reporting. I'll push a fix shortly.

by (76.7k points)

Thanks for the quick reply. LOL for a solid half and hour I thought was too stupid to write a simple code

...