octave-maintainers
[Top][All Lists]
Advanced

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

Re: Bessel Functions and Thumbscrews


From: Jordi Gutiérrez Hermoso
Subject: Re: Bessel Functions and Thumbscrews
Date: Fri, 2 Mar 2012 14:17:48 -0500

On 2 March 2012 12:58, Robert T. Short <address@hidden> wrote:
> Following up on a post and bug report several weeks ago.
>
> I have attached a patch in which I added a bunch of tests to
> bessel{j,y,i,k}.

Thanks, this is helpful. I've pushed your patch and made a few style fixes:

    http://hg.savannah.gnu.org/hgweb/octave/rev/e28a1723d5a2

For future reference, you can use the three-argument calling form of
assert for testing relative instead of absolute tolerance (pass a
negative argument there). This is helpful because it produces a better
diagnostic if the assertion fails.

I also changed to xtest the two tests that failed on my machine. One
of them seems to be getting the signs wrong for some entries. The
other one seems to be getting the precision wrong.

- Jordi G. H.


reply via email to

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