gonum / blas

A BLAS implementation for Go [DEPRECATED]
172 stars 16 forks source link

Kx value in Dtpmv #15

Closed btracey closed 10 years ago

btracey commented 10 years ago

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?

btracey commented 10 years ago

Nope, I was wrong. Sorry.