]> www.ginac.de Git - ginac.git/commitdiff
* Forward declare simplify indexed for GCC 4.1 [Sheplyakov Alexei].
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Sun, 27 Nov 2005 00:08:06 +0000 (00:08 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Sun, 27 Nov 2005 00:08:06 +0000 (00:08 +0000)
ginac/indexed.cpp

index e9c4fee2e56e9bd09b9c36a8bf73cb4f79d2a820..5ed31f32c87e976b45ea59cd6b6f8f152acd94be 100644 (file)
@@ -738,6 +738,9 @@ template<class T> ex idx_symmetrization(const ex& r,const exvector& local_dummy_
        return q;
 }
 
        return q;
 }
 
+// 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)
 /** 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)