]> www.ginac.de Git - ginac.git/blobdiff - doc/tutorial/ginac.texi
Fixed error in examples for match.
[ginac.git] / doc / tutorial / ginac.texi
index 8f10e13b8ed3bf6a80e53c52942974b7c74d7e96..e05f669359a783c0091db570c4cd008e638c4fb3 100644 (file)
@@ -4446,7 +4446,7 @@ FAIL
 > match((a+b)*(a+c),($1+b)*($1+c));
 @{$1==a@}
 > match((a+b)*(a+c),(a+$1)*(a+$2));
-@{$1==c,$2==b@}
+@{$1==b,$2==c@}
   (Unpredictable. The result might also be [$1==c,$2==b].)
 > match((a+b)*(a+c),($1+$2)*($1+$3));
   (The result is undefined. Due to the sequential nature of the algorithm