From: Christian Bauer Date: Fri, 27 Jul 2001 04:43:57 +0000 (+0000) Subject: fixed bogus assertion X-Git-Tag: release_0-9-2~14 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=c366645d84ba4cfdd5b98785a9c5e66e0aea3e62;ds=inline fixed bogus assertion --- 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()) {