You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most confusingly, the example above works fine with numpy 1.25 if the shape of the data array is (2, 100) (just one element smaller in the last dimension).
The text was updated successfully, but these errors were encountered:
I noticed this bug and I’d like to take a closer look and see if I can provide a solution. It might because some issue in sqrt. I’ll work on a potential fix and submit a PR if I make progress.
Describe the issue:
Since version 1.24, the code example below results in a masked array where the data array and the mask array don't have the same shape
Reproduce the code example:
Error message:
Output under 1.23:
Output under 1.25 (also 1.24):
Runtime information:
[{'numpy_version': '1.25.2',
'python': '3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:40:32) '
'[GCC 12.3.0]',
'uname': uname_result(system='Linux', node='e5b-dell-12', release='5.14.0-1051-oem', version='#58-Ubuntu SMP Fri Aug 26 05:50:00 UTC 2022', machine='x86_64')},
{'simd_extensions': {'baseline': ['SSE', 'SSE2', 'SSE3'],
'found': ['SSSE3',
'SSE41',
'POPCNT',
'SSE42',
'AVX',
'F16C',
'FMA3',
'AVX2'],
'not_found': ['AVX512F',
'AVX512CD',
'AVX512_SKX',
'AVX512_CLX',
'AVX512_CNL',
'AVX512_ICL',
'AVX512_SPR']}},
{'architecture': 'Haswell',
'filepath': '/home/mnoethe/.local/conda/envs/numpy-1.25/lib/libopenblasp-r0.3.23.so',
'internal_api': 'openblas',
'num_threads': 20,
'prefix': 'libopenblas',
'threading_layer': 'pthreads',
'user_api': 'blas',
'version': '0.3.23'}]
Context for the issue:
Most confusingly, the example above works fine with numpy 1.25 if the shape of the data array is
(2, 100)
(just one element smaller in the last dimension).The text was updated successfully, but these errors were encountered: