]> www.ginac.de Git - ginac.git/commitdiff
fixed bogus assertion
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Fri, 27 Jul 2001 04:43:57 +0000 (04:43 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Fri, 27 Jul 2001 04:43:57 +0000 (04:43 +0000)
ginac/tensor.cpp

index d294c72303006c916356586ade3269212d9a48e6..0d93e6529ea387c48a63963c16fd1fb5719da72d 100644 (file)
@@ -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, 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()) {
        unsigned num = self->nops() - 1;
 
        if (is_ex_exactly_of_type(other->op(0), tensepsilon) && num+1 == other->nops()) {