bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl]complex_csc_real bug?


From: G.W.M. Vissers
Subject: [Bug-gsl]complex_csc_real bug?
Date: Wed, 15 Jan 2003 12:32:45 +0100 (CET)

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é




reply via email to

[Prev in Thread] Current Thread [Next in Thread]