From 7c7f07ec061b0eebf977ef0090bed032041fc8d1 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Sun, 27 Nov 2005 00:08:50 +0000 Subject: [PATCH] * Sync to HEAD (GCC 4.1 patch) [Sheplyakov Alexei]. --- ginac/indexed.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ginac/indexed.cpp b/ginac/indexed.cpp index ef904f72..26fb692f 100644 --- a/ginac/indexed.cpp +++ b/ginac/indexed.cpp @@ -704,6 +704,9 @@ static void product_to_exvector(const ex & e, exvector & v, bool & non_commutati } } +// Forward declaration needed in absence of friend injection, C.f. [namespace.memdef]: +ex simplify_indexed(const ex & e, exvector & free_indices, exvector & dummy_indices, const scalar_products & sp); + /** Simplify product of indexed expressions (commutative, noncommutative and * simple squares), return list of free indices. */ ex simplify_indexed_product(const ex & e, exvector & free_indices, exvector & dummy_indices, const scalar_products & sp) -- 2.46.0