[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] Fwd: Bug in gamma.c
From: |
Mindaugas M |
Subject: |
[Bug-gsl] Fwd: Bug in gamma.c |
Date: |
Wed, 30 Mar 2011 13:52:19 +0300 |
I forgot to indicate the GSL version; it's 1.14.
Excuse me for multiple posting.
---------- Forwarded message ----------
From: Mindaugas M <address@hidden>
Date: Wed, Mar 30, 2011 at 1:48 PM
Subject: Bug in gamma.c
To: address@hidden
Dear GSL Team,
I found code inconsistencies in the `gamma.c' source file.
The source code (line 1149):
double s = sin(M_PI*z);
in function `gsl_sf_lngamma_e' is not consistent with the
code (line 1215):
double s = sin(M_PI*x);
in function `gsl_sf_lngamma_sgn_e' (see `x' vs. `z') , although
they should.
I suspect the correct statement should use `z' instead of `x'.
Could you please answer me whether `z' or `'x' should be used in the
above statements? Because I'm going to use these codes.
Thank you.
Mindaugas,
Researcher