From: Richard Kreckel Date: Fri, 7 Jul 2000 00:40:25 +0000 (+0000) Subject: - added a warning that things like sin(Li2(x)).series(x==0) cannot work X-Git-Tag: release_0-6-3~5 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=82c60cc9f90e6045e75e4aa4c48b29bcd7c5331f;ds=sidebyside - added a warning that things like sin(Li2(x)).series(x==0) cannot work without having proper support for limits. --- diff --git a/ginac/inifcns.cpp b/ginac/inifcns.cpp index 877c2b85..5802325f 100644 --- a/ginac/inifcns.cpp +++ b/ginac/inifcns.cpp @@ -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; + // 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();