Skip to content

linalg.vecdot and vecdot have (midly) diverging defaults. #355

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

Closed
lezcano opened this issue Dec 31, 2021 · 3 comments · Fixed by #358
Closed

linalg.vecdot and vecdot have (midly) diverging defaults. #355

lezcano opened this issue Dec 31, 2021 · 3 comments · Fixed by #358
Assignees
Labels
bug Something isn't working. topic: Linear Algebra Linear algebra.
Milestone

Comments

@lezcano
Copy link
Contributor

lezcano commented Dec 31, 2021

Their signatures are:
linalg.vecdot(x1, x2, /, *, axis=None)

vecdot(x1, x2, /, *, axis=-1)

I'd certainly prefer to settle for axis=-1.

@rgommers rgommers added this to the v2021 milestone Dec 31, 2021
@rgommers rgommers added topic: Linear Algebra Linear algebra. bug Something isn't working. labels Dec 31, 2021
@rgommers
Copy link
Member

Ouch, that seems like a bug to me, good catch @lezcano.

@asmeurer
Copy link
Member

asmeurer commented Jan 3, 2022

I think this was just an oversight #281

@kgryte
Copy link
Contributor

kgryte commented Jan 5, 2022

This has been addressed in #358.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. topic: Linear Algebra Linear algebra.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants