|
From: | Brian Gladman |
Subject: | [Bug-gsl] [bug #39165] conditional arguments always evaluating to true |
Date: | Tue, 01 Oct 2013 16:02:07 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36 |
Update of bug #39165 (project gsl): Status: None => Fixed _______________________________________________________ Follow-up Comment #2: The Gegenbbauer polynomials degenerate to Chebyshev polynomials when lambda is zero and can hence be evaluated using T_n(x) = cos(n * acos(x)) when |x| <= 1 and cosh(n * acosh(x)) otherwise. The intent here is evidently to use the first form when |x| <= 1 but to rely on the gegenbauer recuurence relation when |x| > 1 rather than using the hyperbolic function form. I have hence changed the conditional expression to match this intent. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?39165> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |