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

Conjugate the first argument in vecdot #98

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

asmeurer
Copy link
Member

This is currently untested by the test suite (data-apis/array-api-tests#312)

Fixes #97.

This is currently untested by the test suite (data-apis/array-api-tests#312)

Fixes data-apis#97.
@asmeurer asmeurer requested a review from Copilot November 19, 2024 22:49

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no suggestions.

Comments skipped due to low confidence (1)

array_api_strict/_linear_algebra_functions.py:89

  • Ensure that the new behavior of conjugating the first argument in the vecdot function is covered by tests.
res = np.conj(x1_[..., None, :]) @ x2_[..., None]
@ev-br
Copy link
Contributor

ev-br commented Nov 26, 2024

cf data-apis/array-api-tests#323 for a matching test.

@ev-br
Copy link
Contributor

ev-br commented Dec 4, 2024

I think we should merge this to accompany data-apis/array-api-compat#201 even if the corresponding test (data-apis/array-api-tests#323) is held up by general value testing being brittle.
Thanks Aaron.

@ev-br ev-br merged commit 179e3e2 into data-apis:main Dec 4, 2024
21 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.

vecdot does not conjugate the first argument
2 participants