Skip to content

Conversation

@Enderdead
Copy link
Contributor

I applied the quick fix (#532) to the create_diagonal delegation function by delegating only when the dimension is less than 2.

I also added another test case to capture the bug, and removed an unused type that I forgot to clean up in a previous MR.

@lucascolley lucascolley changed the title BUG: Fix delegation create diagonal BUG: create_diagonal: remove delegation for ndim >= 2 Dec 7, 2025
@lucascolley lucascolley added this to the 0.9.2 milestone Dec 7, 2025
@lucascolley lucascolley added the bug Something isn't working label Dec 7, 2025
Copy link
Member

@lucascolley lucascolley left a comment

Choose a reason for hiding this comment

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

thanks @Enderdead !

@lucascolley lucascolley merged commit fb9ee9e into data-apis:main Dec 7, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants