Skip to content

matmul! does not size-check #109

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

Open
jaakkor2 opened this issue Aug 24, 2021 · 0 comments
Open

matmul! does not size-check #109

jaakkor2 opened this issue Aug 24, 2021 · 0 comments

Comments

@jaakkor2
Copy link
Contributor

using Octavian
n,m=100,10
y, A, x = rand(n), rand(n,m), rand(m+1)
matmul!(y,A,x)

whereas

using LinearAlgebra
n,m=100,10
y, A, x = rand(n), rand(n,m), rand(m+1)
mul!(y,A,x)

errors ERROR: DimensionMismatch("second dimension of A, 10, does not match length of x, 11")

Octavian v0.3.1

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

No branches or pull requests

1 participant