Skip to content

bugfix: take has wrong output type. - #146

Merged
benikm91 merged 1 commit into
dimwit-dev:mainfrom
benikm91:fix-take-types
Aug 15, 2026
Merged

bugfix: take has wrong output type.#146
benikm91 merged 1 commit into
dimwit-dev:mainfrom
benikm91:fix-take-types

Conversation

@benikm91

Copy link
Copy Markdown
Collaborator

While working with DimWit I ran into the following issue:

If we "take" not the first dimension but later dimensions the returned type signatures is wrong. It adds the new dimension always at location 0 rather than the location where the axis is taken (like jnp.take). This PR fixes this issue.

@benikm91
benikm91 requested a review from marcelluethi August 15, 2026 07:14

@marcelluethi marcelluethi 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 bug. Looks good to me.

@benikm91
benikm91 merged commit d433589 into dimwit-dev:main Aug 15, 2026
1 check 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