- dummy index recognition in products was flawed: A.i.i*B.j.j would be
[ginac.git] / ginac / tensor.cpp
index b180ec9e9a7e6966cdabb06ddbdd686e201aa479..414225d23d27294b17d86120ec2e12a9a6fb3f81 100644 (file)
@@ -333,7 +333,7 @@ bool tensmetric::contract_with(exvector::iterator self, exvector::iterator other
 
        // If contracting with the delta tensor, let the delta do it
        // (don't raise/lower delta indices)
-       if (is_ex_exactly_of_type(other->op(0), tensdelta))
+       if (is_ex_of_type(other->op(0), tensdelta))
                return false;
 
        // Try to contract first index