Skip to content

fix: only compare scalars in full_like#2857

Merged
agoose77 merged 3 commits into
mainfrom
agoose77/fix-full-like-dtype
Nov 30, 2023
Merged

fix: only compare scalars in full_like#2857
agoose77 merged 3 commits into
mainfrom
agoose77/fix-full-like-dtype

Conversation

@agoose77

@agoose77 agoose77 commented Nov 29, 2023

Copy link
Copy Markdown
Collaborator

Currently we follow a ufunc branch in full_like, which can be avoided. This branch may fail for non-castable fill-value dtypes e.g. datetime64.

@codecov

codecov Bot commented Nov 29, 2023

Copy link
Copy Markdown

Codecov Report

Merging #2857 (9a3cfa5) into main (3c2940c) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Additional details and impacted files
Files Coverage Δ
src/awkward/operations/ak_full_like.py 98.38% <100.00%> (+0.02%) ⬆️

... and 1 file with indirect coverage changes

@agoose77 agoose77 changed the title fix: full like dtype fix: only compare scalars in full_like Nov 29, 2023
@agoose77

Copy link
Copy Markdown
Collaborator Author

This is simple and blocking dask-awkward CI; I'll merge.

@agoose77
agoose77 merged commit f61ddc0 into main Nov 30, 2023
@agoose77
agoose77 deleted the agoose77/fix-full-like-dtype branch November 30, 2023 10:29
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.

1 participant