X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Ftensor.cpp;h=0d93e6529ea387c48a63963c16fd1fb5719da72d;hp=d294c72303006c916356586ade3269212d9a48e6;hb=c366645d84ba4cfdd5b98785a9c5e66e0aea3e62;hpb=c7918cc84dc037a97b66dc1582fb85440ae3b4ae diff --git a/ginac/tensor.cpp b/ginac/tensor.cpp index d294c723..0d93e652 100644 --- a/ginac/tensor.cpp +++ b/ginac/tensor.cpp @@ -499,7 +499,7 @@ bool tensepsilon::contract_with(exvector::iterator self, exvector::iterator othe { GINAC_ASSERT(is_ex_of_type(*self, indexed)); GINAC_ASSERT(is_ex_of_type(*other, indexed)); - GINAC_ASSERT(is_ex_of_type(self->op(0), spinmetric)); + GINAC_ASSERT(is_ex_of_type(self->op(0), tensepsilon)); unsigned num = self->nops() - 1; if (is_ex_exactly_of_type(other->op(0), tensepsilon) && num+1 == other->nops()) {