Closed
Description
This is on Fedora 34 with gcc version 11.0.1. There are also a lot of zero divide warnings. They don't depend on the python version, nor even the NumPy version. Nor do they appear in python itself. There are some 60 of them in main.
Python 3.8.10 (default, May 8 2021, 22:00:23)
[GCC 11.0.1 20210324 (Red Hat 11.0.1-0)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import warnings
>>> warnings.simplefilter('always')
>>> import numpy as np
>>> complex(4, 0)/4
(1+0j)
>>> np.complex128(complex(4, 0))/4
<stdin>:1: RuntimeWarning: invalid value encountered in cdouble_scalars
(1+0j)
>>> np.array(complex(4, 0))/4
<stdin>:1: RuntimeWarning: invalid value encountered in true_divide
(1+0j)
It may be library/compiler related. None of these show up in the CI tests.
NumPy CPU features: SSE SSE2 SSE3 SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F? AVX512CD? AVX512_KNL? AVX512_KNM? AVX512_SKX? AVX512_CLX? AVX512_CNL? AVX512_ICL?
Metadata
Metadata
Assignees
Labels
No labels