Fixed stupid bug with reordering.

psblas3-type-indexed
Salvatore Filippone 19 years ago
parent 080c630fed
commit cb1bfc14f0

@ -70,7 +70,7 @@ subroutine imsr(n,x)
x(k) = iswap x(k) = iswap
lswap = iaux(lp) lswap = iaux(lp)
iaux(lp) = iaux(k) iaux(lp) = iaux(k)
iaux(k) = lswap iaux(k) = lp
lp = lswap lp = lswap
k = k + 1 k = k + 1
enddo enddo

@ -81,7 +81,7 @@ subroutine imsrx(n,x,indx)
indx(k) = ixswap indx(k) = ixswap
lswap = iaux(lp) lswap = iaux(lp)
iaux(lp) = iaux(k) iaux(lp) = iaux(k)
iaux(k) = lswap iaux(k) = lp
lp = lswap lp = lswap
k = k + 1 k = k + 1
enddo enddo

Loading…
Cancel
Save