bug-gsl
[Top][All Lists]
Advanced

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

Re: [Bug-gsl] problem in cubic solver


From: Brian Gough
Subject: Re: [Bug-gsl] problem in cubic solver
Date: Sat, 09 May 2009 11:57:25 +0100
User-agent: Wanderlust/2.14.0 (Africa) Emacs/22.2 Mule/5.0 (SAKAKI)

At Tue, 28 Apr 2009 17:11:31 +0200,
Lorenzo Moneta wrote:
>   This patch fails the current test for polynomial in gsl, however in  
> my opinion, this is acceptable, because the test condition is too  
> strict. With a slight change of the test coefficient, you will have a  
> similar failure also with the current version.

I've applied the patch and rewritten the angular calculation in terms
of R2 / Q3 so that it is based on the same variables as the condition
(R2 < Q3)--this should avoid the argument of acos being out of range.
Thanks for reporting the problem.

-- 
Brian Gough




reply via email to

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