Skip to content

Fixes ak.full behavior, Closes 4312 - #4447

Merged
ajpotts merged 2 commits into
Bears-R-Us:masterfrom
drculhane:Closes-4312
May 28, 2025
Merged

ajpotts merged 2 commits into
Bears-R-Us:masterfrom
drculhane:Closes-4312

Conversation

@drculhane

@drculhane drculhane commented May 23, 2025 •

Copy link
Copy Markdown
Contributor

Closes #4312.

This makes the dtype argument optional, defaulting to None. If it is None, then the function uses the type of the supplied fill_value parameter.

It also fixes an error in test_full_error. Because its use of ak.full wasn't supplying a fill_value, it was causing an error, but not the one it was supposed to.

@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.

Thanks for fixing this!

@ajpotts
ajpotts requested review from 1RyanK and jaketrookman May 27, 2025 15:16

@1RyanK 1RyanK 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!

@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

@jaketrookman
jaketrookman added this pull request to the merge queue May 27, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 27, 2025
@ajpotts
ajpotts added this pull request to the merge queue May 27, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 27, 2025
@ajpotts
ajpotts added this pull request to the merge queue May 28, 2025
Merged via the queue into Bears-R-Us:master with commit 5e0de58 May 28, 2025
@drculhane
drculhane deleted the Closes-4312 branch June 3, 2025 13:16
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.

ak.full does not align to numpy.

4 participants