]> www.ginac.de Git - ginac.git/blobdiff - ginac/indexed.cpp
- lcm_of_coefficients_denominators(1/2+x^10) returned 1024 instead of 2 and
[ginac.git] / ginac / indexed.cpp
index ea4266cba5ac8e0c5e93d26d58e998060bd61193..c3fe1d9a26e6d49ca311b0e793913d6050ef402f 100644 (file)
@@ -629,12 +629,12 @@ try_again:
                        }
 
                        // Try to contract the first one with the second one
                        }
 
                        // Try to contract the first one with the second one
-                       bool contracted = it1->op(0).bp->contract_with(*it1, *it2);
+                       bool contracted = it1->op(0).bp->contract_with(it1, it2, v);
                        if (!contracted) {
 
                                // That didn't work; maybe the second object knows how to
                                // contract itself with the first one
                        if (!contracted) {
 
                                // That didn't work; maybe the second object knows how to
                                // contract itself with the first one
-                               contracted = it2->op(0).bp->contract_with(*it2, *it1);
+                               contracted = it2->op(0).bp->contract_with(it2, it1, v);
                        }
                        if (contracted) {
                                something_changed = true;
                        }
                        if (contracted) {
                                something_changed = true;