From c43574d7e7c6fe53283101c64dd73d99c3a168f6 Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Wed, 5 Feb 2003 23:03:26 +0000 Subject: [PATCH] dimension in dirac gamma contractions was miscalculated --- ginac/clifford.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ginac/clifford.cpp b/ginac/clifford.cpp index 352ee194..b6dd31ef 100644 --- a/ginac/clifford.cpp +++ b/ginac/clifford.cpp @@ -211,7 +211,7 @@ bool diracgamma::contract_with(exvector::iterator self, exvector::iterator other ex dim = ex_to(self->op(1)).get_dim(); if (other->nops() > 1) - dim = minimal_dim(dim, ex_to(self->op(1)).get_dim()); + dim = minimal_dim(dim, ex_to(other->op(1)).get_dim()); if (is_a(*other)) { -- 2.44.0