Skip to content

BUG: Fix bug in AVX complex absolute while processing array of mixed dtypes #16666

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 23, 2020

Conversation

r-devulap
Copy link
Member

Fixes #16660

@charris
Copy link
Member

charris commented Jun 23, 2020

The 32 bit test failure looks legitimate. Maybe because windows x32 effectively uses a different FPU than x64.

@r-devulap
Copy link
Member Author

Providing a 1 ULP leeway and using Pythagorean triples to minimize the differences.

@mattip
Copy link
Member

mattip commented Jun 23, 2020

LGTM. CI failures on s390x and python3.9 are not related.

@mattip mattip merged commit 7af1024 into numpy:master Jun 23, 2020
@mattip mattip added the component: SIMD Issues in SIMD (fast instruction sets) code or machinery label Jun 23, 2020
@charris
Copy link
Member

charris commented Jun 23, 2020

@r-devulap Could you make a PR against maintenance/1.19.x, I don't want to bring in the changes implementing SIMD for other functions.

@r-devulap
Copy link
Member Author

@charris will do.

@charris
Copy link
Member

charris commented Jun 23, 2020

Thanks.

@r-devulap
Copy link
Member Author

Please see #16672

@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jun 26, 2020
duncanmmacleod added a commit to duncanmmacleod/pycbc that referenced this pull request Nov 11, 2020
the issue reported in numpy/numpy#16660 was fixed in numpy/numpy#16666 and released as part of numpy 1.19.1, so pycbc should now be able to use those newer versions, and just avoid 1.19.0
duncanmmacleod added a commit to duncanmmacleod/pycbc that referenced this pull request Nov 20, 2020
the issue reported in numpy/numpy#16660 was fixed in numpy/numpy#16666 and released as part of numpy 1.19.1, so pycbc should now be able to use those newer versions, and just avoid 1.19.0
ahnitz pushed a commit to gwastro/pycbc that referenced this pull request Nov 20, 2020
the issue reported in numpy/numpy#16660 was fixed in numpy/numpy#16666 and released as part of numpy 1.19.1, so pycbc should now be able to use those newer versions, and just avoid 1.19.0
OliverEdy pushed a commit to OliverEdy/pycbc that referenced this pull request Apr 3, 2023
the issue reported in numpy/numpy#16660 was fixed in numpy/numpy#16666 and released as part of numpy 1.19.1, so pycbc should now be able to use those newer versions, and just avoid 1.19.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
00 - Bug component: numpy.ufunc component: SIMD Issues in SIMD (fast instruction sets) code or machinery
Projects
None yet
Development

Successfully merging this pull request may close these issues.

abs() on structured array gives invalid values in numpy 1.19.0
3 participants