|
From: | Doug Stewart |
Subject: | Re: Bessel Functions and Thumbscrews |
Date: | Sat, 3 Mar 2012 00:34:43 -0500 |
On 03/02/2012 11:17 AM, Jordi Gutiérrez Hermoso wrote:
Jordi, would you please run the attached script and send me the results? It will produce a series of "testcase??.mat" files. No rush.On 2 March 2012 12:58, Robert T. Short<octave@phaselockedsystems.com> wrote:
Following up on a post and bug report several weeks ago.Thanks, this is helpful. I've pushed your patch and made a few style fixes:
I have attached a patch in which I added a bunch of tests to
bessel{j,y,i,k}.
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.
Bob
dougtests.tar.gz
Description: GNU Zip compressed data
[Prev in Thread] | Current Thread | [Next in Thread] |