Skip to content

Closes #5356: bool ** bool gives incorrect results - #5357

Merged
ajpotts merged 1 commit into
Bears-R-Us:mainfrom
1RyanK:5356-bool_pow_bool_gives_incorrect_results
Jan 28, 2026
Merged

ajpotts merged 1 commit into
Bears-R-Us:mainfrom
1RyanK:5356-bool_pow_bool_gives_incorrect_results

Conversation

@1RyanK

@1RyanK 1RyanK commented Jan 28, 2026

Copy link
Copy Markdown
Contributor

You can test that the output in iPython is as follows:

In [1]: a = ak.array([True, True, False, False])

In [2]: b = ak.array([True, False, True, False])

In [3]: a ** b
Out[3]: array([1 1 0 1])

@1RyanK
1RyanK marked this pull request as ready for review January 28, 2026 18:27

@jaketrookman jaketrookman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@codecov

codecov Bot commented Jan 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@0fc7e56). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #5357   +/-   ##
========================================
  Coverage        ?   100.00%           
========================================
  Files           ?         5           
  Lines           ?       115           
  Branches        ?         0           
========================================
  Hits            ?       115           
  Misses          ?         0           
  Partials        ?         0           
Flag Coverage Δ
python-coverage 100.00% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ajpotts ajpotts left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thanks!

@ajpotts
ajpotts added this pull request to the merge queue Jan 28, 2026
Merged via the queue into Bears-R-Us:main with commit ffd1619 Jan 28, 2026
24 checks passed
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.

3 participants