Skip to content
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

[PR #13338/0c454979 backport][8.3.x] Fix broken approx when mixing numpy booleans and booleans #13342

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Apr 2, 2025

This is a backport of PR #13338 as merged into main (0c45497).

Description

Fixed an issue in equality checks where bool and numpy.bool_ types were not handled consistently.
This ensures proper handling of native and numpy boolean types. See #13047.

Fix #13047

Checklist

  • Include documentation when adding new features. (Not applicable)
  • Include new tests or update existing tests when applicable.
  • Allow maintainers to push and squash when merging my commits.
  • Added closes #13047 to link this PR to the issue.
  • Created a new changelog file: 13047.bugfix.rst.
  • Added myself to AUTHORS in alphabetical order.

Fix #13047

---------

Co-authored-by: Bruno Oliveira <[email protected]>
(cherry picked from commit 0c45497)
@nicoddemus nicoddemus enabled auto-merge (squash) April 2, 2025 10:34
@nicoddemus nicoddemus merged commit 70d0c9d into 8.3.x Apr 2, 2025
29 checks passed
@nicoddemus nicoddemus deleted the patchback/backports/8.3.x/0c454979cc2038bc193eb037e80f658a9183641f/pr-13338 branch April 2, 2025 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants