gonum/blas

Kx value in Dtpmv

Closed this issue · 1 comments

In blas/goblas, Dtpmv has the following lines of code:

  var kx int
if incX <= 0 {
    kx = -(n - 1) * incX
} else if incX != 1 {
    kx = 0
}

Shouldn't this say kx = 1 instead of kx = 0?

Nope, I was wrong. Sorry.