Describe the issue:
Build failures of silx on debian logs point to a problem with numpy.nanmin() for float64 on little endian MIPS platforms.
Reproduce the code example:
import numpy
data = numpy.array((float('nan'), 1.0), dtype='float64')
minimum = numpy.nanmin(data)
print(f"minimum={minimum}")
assert minimum == 1.0
Error message:
minimum=nan
Traceback (most recent call last):
File "/tmp/testcase.py", line 6, in <module>
assert minimum == 1.0
^^^^^^^^^^^^^^
AssertionError
Runtime information:
import sys, numpy; print(numpy.version); print(sys.version)
1.24.1
3.11.1 (main, Dec 31 2022, 10:23:59) [GCC 12.2.0]
print(numpy.show_runtime())
WARNING: threadpoolctl not found in system! Install it by pip install threadpoolctl. Once installed, try np.show_runtime again for more detailed build information
[{'simd_extensions': {'baseline': [], 'found': [], 'not_found': []}}]
None
Context for the issue:
This is a fundamental bug in a data type, breaking higher level verification tests in other packages.
Describe the issue:
Build failures of silx on debian logs point to a problem with
numpy.nanmin()forfloat64on little endian MIPS platforms.Reproduce the code example:
Error message:
Runtime information:
Context for the issue:
This is a fundamental bug in a data type, breaking higher level verification tests in other packages.