Package: python-numpy
Version: 1:1.6.2-1
Severity: normal

some scipy tests fail on powerpc, this is because

import numpy as np;
np.finfo(np.clongdouble).precision

returns 75 on powerpc but it should return not more than about 18.

see e.g. the test_signaltools.TestCorrelateComplex256
https://buildd.debian.org/status/fetch.php?pkg=python-scipy&arch=powerpc&ver=0.11.0%2Bdfsg1-1&stamp=1362143334

the decimal is obtained in scipy/signal/tests/test_signaltools.py:553 via:
for datatype in [np.csingle, np.cdouble, np.clongdouble]:
    cls = _get_testcorrelate_class(datatype, _TestCorrelateComplex)
    cls.decimal = int(2 * np.finfo(datatype).precision / 3)
    globals()[cls.__name__] = cls


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to