Hi, Alexei!
"ASh" == Sheplyakov Alexei <varg@theor.jinr.ru> writes: ASh> expression in clifford_check4 triggered bad_cast). I've found a ASh> simple[r] example which fails in the same way:
Your exam works smoothly on my computer with CVS GiNaC, expression e is evaluated to gamma~mu, is it correct? ASh> 2) In general, is it OK for class derived from indexed return ASh> something which is *not* idx (or derived from it) via op()? One of the reasons why clifford class returns its metric among its ops, I think, because this is required by the subs() method to make symbolic substitution in the metric as well. Best wishes, Vladimir -- Vladimir V. Kisil email: kisilv@maths.leeds.ac.uk -- www: http://maths.leeds.ac.uk/~kisilv/