]> www.ginac.de Git - ginac.git/commit
G_do_hoelder: fix the transformation of the imaginary part.
authorStefan Weinzierl <stefanw@thep.physik.uni-mainz.de>
Sat, 12 Apr 2014 11:32:20 +0000 (14:32 +0300)
committerAlexei Sheplyakov <Alexei.Sheplyakov@gmail.com>
Sat, 12 Apr 2014 11:32:57 +0000 (14:32 +0300)
commitd023220cece92637c3e55051f127650f2131de44
tree402574717e3f13dbae35fa0aaa148d8375ef0980
parent97ef604e3da2e918cad6cb10af61f7d07999ed97
G_do_hoelder: fix the transformation of the imaginary part.

The G_do_hoelder function 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.
ginac/inifcns_nstdsums.cpp