X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Ftensor.cpp;h=414225d23d27294b17d86120ec2e12a9a6fb3f81;hp=b180ec9e9a7e6966cdabb06ddbdd686e201aa479;hb=7064a931c4b5bea8c4a924fc9e9edabe5584b57a;hpb=d1d329ec76f136524bcb066e012bce1eec91243c diff --git a/ginac/tensor.cpp b/ginac/tensor.cpp index b180ec9e..414225d2 100644 --- a/ginac/tensor.cpp +++ b/ginac/tensor.cpp @@ -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