dimension in dirac gamma contractions was miscalculated
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Wed, 5 Feb 2003 23:03:26 +0000 (23:03 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Wed, 5 Feb 2003 23:03:26 +0000 (23:03 +0000)
ginac/clifford.cpp

index 352ee19..b6dd31e 100644 (file)
@@ -211,7 +211,7 @@ bool diracgamma::contract_with(exvector::iterator self, exvector::iterator other
 
        ex dim = ex_to<idx>(self->op(1)).get_dim();
        if (other->nops() > 1)
-               dim = minimal_dim(dim, ex_to<idx>(self->op(1)).get_dim());
+               dim = minimal_dim(dim, ex_to<idx>(other->op(1)).get_dim());
 
        if (is_a<clifford>(*other)) {