From c366645d84ba4cfdd5b98785a9c5e66e0aea3e62 Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Fri, 27 Jul 2001 04:43:57 +0000 Subject: [PATCH 1/1] fixed bogus assertion --- ginac/tensor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) { -- 2.44.0