NetBSD-Bugs archive

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

Re: lib/51427: libm issues triggered by py-numpy



The following reply was made to PR lib/51427; it has been noted by GNATS.

From: coypu%SDF.ORG@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: lib/51427: libm issues triggered by py-numpy
Date: Tue, 11 Oct 2016 14:53:46 +0000

 We are down to this:
 
 ======================================================================
 FAIL: test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'sqrt'>, -0.5, 1j, 1, -1, True)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/pkg/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
     self.test(*self.arg)
   File "/usr/pkgsrc/math/py-numpy/work/.destdir/usr/pkg/lib/python2.7/site-packages/numpy/core/tests/test_umath.py", line 1889, in _check_branch_cut
     assert_(np.all(np.absolute(y0[ji].imag - ym.imag*im_sign) < atol), (y0[ji], ym))
   File "/usr/pkgsrc/math/py-numpy/work/.destdir/usr/pkg/lib/python2.7/site-packages/numpy/testing/utils.py", line 75, in assert_
     raise AssertionError(smsg)
 AssertionError: (array([ 0.+0.70710678j]), array([ 0.+0.70710678j]))
 
 ======================================================================
 FAIL: test_umath.TestComplexFunctions.test_branch_cuts_complex64(<ufunc 'sqrt'>, -0.5, 1j, 1, -1, True, <type 'numpy.complex64'>)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/pkg/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
     self.test(*self.arg)
   File "/usr/pkgsrc/math/py-numpy/work/.destdir/usr/pkg/lib/python2.7/site-packages/numpy/core/tests/test_umath.py", line 1889, in _check_branch_cut
     assert_(np.all(np.absolute(y0[ji].imag - ym.imag*im_sign) < atol), (y0[ji], ym))
   File "/usr/pkgsrc/math/py-numpy/work/.destdir/usr/pkg/lib/python2.7/site-packages/numpy/testing/utils.py", line 75, in assert_
     raise AssertionError(smsg)
 AssertionError: (array([ 0.+0.70710677j], dtype=complex64), array([ 0.+0.70710677j], dtype=complex64))
 
 ----------------------------------------------------------------------
 Ran 6115 tests in 59.866s
 
 FAILED (KNOWNFAIL=7, SKIP=8, errors=1, failures=2)
 
 
 Thanks christos
 


Home | Main Index | Thread Index | Old Index