- added a warning that things like sin(Li2(x)).series(x==0) cannot work
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Fri, 7 Jul 2000 00:40:25 +0000 (00:40 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Fri, 7 Jul 2000 00:40:25 +0000 (00:40 +0000)
  without having proper support for limits.

ginac/inifcns.cpp

index 877c2b852710a49acc2ea2e61bc141385afbd423..5802325f944345c448a1bd34c3268d81c6126703 100644 (file)
@@ -191,6 +191,11 @@ static ex Li2_series(const ex &x, const relational &rel, int order)
         // reexpand will collapse the series again
         ser = ser.series(rel,order);
         return ser;
         // reexpand will collapse the series again
         ser = ser.series(rel,order);
         return ser;
+        // NOTE: Of course, this still does not allow us to compute anything
+        // like sin(Li2(x)).series(x==0,2), since then this code here is not
+        // reached and the derivative of sin(Li2(x)) doesn't allow the
+        // substitution x==0.  Probably limits *are* needed for the general
+        // cases.
     }
     // second problematic case: x real, >=1 (branch cut)
     return pseries();
     }
     // second problematic case: x real, >=1 (branch cut)
     return pseries();