[Numpy-discussion] Test failures on FreeBSD buildbot

Charles R Harris charlesr.harris@gmail....
Mon Jul 27 23:22:02 CDT 2009


On Mon, Jul 27, 2009 at 9:37 PM, David Cournapeau <cournape@gmail.com>wrote:

> On Tue, Jul 28, 2009 at 8:44 AM, Charles R
> Harris<charlesr.harris@gmail.com> wrote:
>
> > ERROR: test_nan_items (test_utils.TestApproxEqual)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File
> >
> "/tmp/numpy-buildbot/b12/numpy-install/lib/python2.5/site-packages/numpy/testing/tests/test_utils.py",
> > line 248, in test_nan_items
> >
> >     self._assert_func(anan, anan)
> >   File
> > "../numpy-install/lib/python2.5/site-packages/numpy/testing/utils.py",
> line
> > 433, in assert_approx_equal
> > ValueError: math domain error
> >
> > ----------------------------------------------------------------------
> >
> > Ran 2177 tests in 30.179s
> >
> >
> > I expect there is a problem with the FreeBSD math libraries.
>
> Actually, I am surprised it did not fail on Linux/Windows/Mac OS X :)
> Reading the code for assert_approx_equal, using log/pow functions
> nan should produce this error. I will work on a fix,
>

Yeah, the function is kind of a mess. I think most of the math can be
avoided.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090727/bf97483e/attachment-0002.html 


More information about the NumPy-Discussion mailing list