Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
don't refer to internal variable names in gemv exceptions (#1141)
Currently, the `DimensionMismatch` exceptions refer to internal parameter names of `gemv!`, which is confusing because those don't necessarily match the caller's variables. For example: ```jl julia> B = rand(1000,100); c = rand(1000); julia> B * c ERROR: DimensionMismatch: second dimension of A, 100, does not match length of x, 1000 Stacktrace: [1] gemv! @ ~/.julia/juliaup/julia-1.11.2+0.x64.apple.darwin14/share/julia/stdlib/v1.11/LinearAlgebra/src/matmul.jl:438 [inlined] ``` This PR changes the error messages to refer to "matrix" instead of "A" and "input vector" instead of "x", etc.
- Loading branch information