Skip to content

Pass tuple[int] instead of tuple[Array] as shape to xp.full#388

Merged
ev-br merged 1 commit intodata-apis:masterfrom
cbourjau:pass-tuple-of-ints-to-xp.full
Aug 16, 2025
Merged

Pass tuple[int] instead of tuple[Array] as shape to xp.full#388
ev-br merged 1 commit intodata-apis:masterfrom
cbourjau:pass-tuple-of-ints-to-xp.full

Conversation

@cbourjau
Copy link
Copy Markdown
Contributor

The existing test for repeat relies on full being able to consume a tupel of scalar Array objects. The latter is not part of the standard. A simple call to Python's int saves the day.

Copy link
Copy Markdown
Member

@ev-br ev-br left a comment

Choose a reason for hiding this comment

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

Thank you @cbourjau !

@ev-br ev-br merged commit 1fb61d5 into data-apis:master Aug 16, 2025
3 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.

2 participants