You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
0 commit comments