From: Chris Dams Date: Sat, 29 Jul 2006 02:34:27 +0000 (+0000) Subject: Bug in expand_dummy_sum is fixed. X-Git-Tag: release_1-4-0~79 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=commitdiff_plain;h=ef2ed9a711c416722c34548015b4ae3621948c1c;p=ginac.git Bug in expand_dummy_sum is fixed. --- diff --git a/doc/tutorial/ginac.texi b/doc/tutorial/ginac.texi index bdea81b8..9f2abc1c 100644 --- a/doc/tutorial/ginac.texi +++ b/doc/tutorial/ginac.texi @@ -2729,11 +2729,7 @@ arithmetic class, you just pass it to @code{simplify_indexed()}): The @code{scalar_products} object @code{sp} acts as a storage for the scalar products added to it with the @code{.add()} method. This method takes three arguments: the two expressions of which the scalar product is -taken, and the expression to replace it with. After @code{sp.add(A, B, 0)}, -@code{simplify_indexed()} will replace all scalar products of indexed -objects that have the symbols @code{A} and @code{B} as base expressions -with the single value 0. The number, type and dimension of the indices -don't matter; @samp{A~mu~nu*B.mu.nu} would also be replaced by 0. +taken, and the expression to replace it with. @cindex @code{expand()} The example above also illustrates a feature of the @code{expand()} method: diff --git a/ginac/container.h b/ginac/container.h index 28cf05e4..7f921002 100644 --- a/ginac/container.h +++ b/ginac/container.h @@ -129,6 +129,7 @@ template