[GiNaC-devel] Another bug fix for the polylogs

Stefan Weinzierl stefanw at thep.physik.uni-mainz.de
Wed Feb 12 11:52:00 CET 2014


Hello,

attached is patch for a bug fix in the file inifcns_nstdsums.cpp.
This bug is not related to any bug reported in January.
The bug manifest itself that G-functions with trailing zeros and y<>1 are 
not calculated correctly.

Description:

The method G_do_hoelder is called from the method G_numeric.
G_do_hoelder expects arguments without trailing zeros.
(The reason is that G_do_hoelder uses the scaling relation, which is only 
valid for G-functions without trailing zeros.)
Trailing zeros are handled by the method G_do_trafo.
The patch ensures that the method G_numeric calls in the case of trailing 
zeros the method G_do_trafo and not G_hoelder.

  Best wishes,

    Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: polylog4.patch
Type: text/x-diff
Size: 1040 bytes
Desc: 
URL: <http://www.cebix.net/pipermail/ginac-devel/attachments/20140212/09471e37/attachment.bin>


More information about the GiNaC-devel mailing list