[GiNaC-devel] Bug fix G_do_hoelder

Stefan Weinzierl stefanw at thep.physik.uni-mainz.de
Tue Mar 11 15:50:13 CET 2014


Dear all,

attached is a small bug fix for the method G_do_hoelder in the file 
inifcns_nstsums.cpp

The method G_do_hoelder transforms the arguments as z --> 1-z.
If z has an imaginary part, the sign of the imagniary part transforms as
s --> -s.
In the special case where z is real and >1, the transformed value is real 
and <0. For (transformed) real negative values of z the sign of the 
imaginary part is 
not relevant (there are no branch cuts). The code requires that in this 
case the sign takes the default value +1. This is now fixed.

  Best wishes,

    Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: polylog5.patch
Type: text/x-diff
Size: 666 bytes
Desc: 
URL: <http://www.cebix.net/pipermail/ginac-devel/attachments/20140311/85009558/attachment.bin>


More information about the GiNaC-devel mailing list