]> www.ginac.de Git - ginac.git/commitdiff
[DOC] Fix typo in series_to_poly() documentation.
authorVladimir V. Kisil <V.Kisil@leeds.ac.uk>
Sun, 6 Feb 2022 18:21:55 +0000 (19:21 +0100)
committerRichard Kreckel <kreckel@ginac.de>
Sun, 6 Feb 2022 20:54:24 +0000 (21:54 +0100)
doc/tutorial/ginac.texi

index fda70841fc65be4e8c9b455cce1fca19ffccaddd..c97da74233be12c490f82c1260eb4203f9608a35 100644 (file)
@@ -5700,7 +5700,7 @@ using namespace GiNaC;
 ex machin_pi(int degr)
 @{
     symbol x;
-    ex pi_expansion = series_to_poly(atan(x).series(x,degr));
+    ex pi_expansion = series_to_poly(atan(x).series(x==0,degr));
     ex pi_approx = 16*pi_expansion.subs(x==numeric(1,5))
                    -4*pi_expansion.subs(x==numeric(1,239));
     return pi_approx;