Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linalg.trace test, result dtype was incorrect #203

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

rgommers
Copy link
Member

As the spec says, the output dtype should be the default integer/float/complex dtype just like for sum. Given that the reference was implemented with sum, avoiding to pass an explicit dtype should be enough to obtain the correct results.

@honno honno requested a review from asmeurer November 14, 2023 14:06
As the spec says, the output dtype should be the default
integer/float/complex dtype just like for `sum`. Given that the
reference was implemented with `sum`, avoiding to pass an explicit
dtype should be enough to obtain the correct results.
Copy link
Member

@honno honno left a comment

Choose a reason for hiding this comment

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

LGTM thanks.

@honno honno merged commit 6bcede9 into data-apis:master Nov 14, 2023
4 checks passed
@rgommers rgommers deleted the fix-linalg-trace-test branch November 14, 2023 15:42
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