Fixes #92: xLASWP: bug for negative INCX
authorVladimír Chalupecký <vladimir-ch@users.noreply.github.com>
Thu, 1 Dec 2016 16:40:45 +0000 (01:40 +0900)
committerJulien Langou <julien.langou@ucdenver.edu>
Thu, 1 Dec 2016 16:40:45 +0000 (01:40 +0900)
commit2ceda6db0f046b1b676030f9b6d92541e6222e3c
treebe76a2dd05efffc8605c4008d4da4275e9fd3980
parentcad7bf5a44d6a69e4708a0f26a9d62c2e882caae
Fixes #92: xLASWP: bug for negative INCX

Thanks to Vladimír Chalupecký for noticing quite an old bug in xLASWP.  The bug
is fixed now. The cases for INCX = 1 and INCX = -1 were correct.  It is not
clear whether any other cases would be useful. So the bug was never detected.
We might want to consider to (1) forbid any values for INCX but INCX = 1 and
INCX = -1, (2) and simplify the code and the subroutine description
accordingly. Comments welcome. Julien.
SRC/claswp.f
SRC/dlaswp.f
SRC/slaswp.f
SRC/zlaswp.f