This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
complex_csc_real bug?
- From: "G.W.M. Vissers" <vissers at theochem dot kun dot nl>
- To: gsl-discuss at sources dot redhat dot com
- Date: Wed, 15 Jan 2003 12:32:45 +0100 (CET)
- Subject: complex_csc_real bug?
Hi,
I think I've found a minor bug in the complex_csc_real function. For
arguments -1.0 < a < 0, GSL 1.3 returns
GSL_SET_COMPLEX (&z, -M_PI_2, -acosh (-1 / a));
I guess that should be
GSL_SET_COMPLEX (&z, -M_PI_2, acosh (-1 / a));
i.e. the minus sign on the imaginary part should be removed.
Cheers,
Gé