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

Revert "Fix a few naming conflicts in LinAlg/BLAS. Fixes #14268." #22374

Merged
merged 2 commits into from
Jun 16, 2017

Conversation

andreasnoack
Copy link
Member

The "fix" of #14268 was not the right one since LinAlg.dot and LinAlg.BLAS.dot have different signatures. Hence, this accidentally changed the behavior of dot and made it behave like vecdot. I've added a test to avoid that we accidentally reintroduce the behavior again.

At some point, we might adjust the signatures in the BLAS module to match those in the LinAlg module. Basically, the signatures in BLAS are more permissive right now and allow for higher dimensional arrays instead of requiring a reshape to Vector. However, I think we should respect our abstractions and enforce that the input has N=1, but that can be done in a separate PR.

This supersedes #22240.

@andreasnoack andreasnoack added the linear algebra Linear algebra label Jun 15, 2017
@andreasnoack andreasnoack merged commit c75944f into master Jun 16, 2017
@andreasnoack andreasnoack deleted the anj/dot branch June 16, 2017 15:41
quinnj pushed a commit that referenced this pull request Jun 20, 2017
…2374)

* Revert "Fix a few naming conflicts in LinAlg/BLAS. Fixes #14268."

This reverts commit befbcec.

* Add test to make sure that dot(Matrix,Matrix) throws for all types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linear algebra Linear algebra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant