-
-
Notifications
You must be signed in to change notification settings - Fork 11.8k
Closed
Labels
Milestone
Description
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.0Error message:
minimum=nan
Traceback (most recent call last):
File "/tmp/testcase.py", line 6, in <module>
assert minimum == 1.0
^^^^^^^^^^^^^^
AssertionErrorRuntime 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:threadpoolctlnot found in system! Install it bypip install threadpoolctl. Once installed, trynp.show_runtimeagain 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.
seberg