Skip to content

matmul! does not size-check #109

@jaakkor2

Description

@jaakkor2
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions