Page 1 of 1

Bug in the new ?syswapr function

PostPosted: Mon Jan 24, 2011 3:28 am
by nmozarto
Bug in new ?syswapr function was found.
The LDA is not passed to ?SYSWAPR (from ?SYTRI2X suboutine) where A is A(N,N), this causes trashing of the matrix.

For example :
SUBROUTINE SSYSWAPR( UPLO, N, A, I1, I2)
* .. Scalar Arguments ..
CHARACTER UPLO
INTEGER I1, I2, N
* .. Array Arguments ..
REAL A(N,N)

The problem appears when we use matrix A(LDA,N). The case is not checked by testsuite, where in ?DRVSY always LDA = MAX( 1, N ).
Please pay your attention on this problem

Re: Bug in the new ?syswapr function

PostPosted: Mon Jan 24, 2011 4:24 pm
by admin
Hi,
Indeed, we need to modify and add this testing.
This is listed as bug0067 in LAPACK Errata: http://www.netlib.org/lapack/Errata/index2.html
Thank you
Julie

Re: Bug in the new ?syswapr function

PostPosted: Wed Jan 26, 2011 11:01 am
by admin
Hi again,
we just have corrected the problem in our SVN repository (rev 893 and 894).
our SVN repository is open for read-only
Code: Select all
svn co http://icl.cs.utk.edu/svn/lapack-dev/lapack/trunk
This has not yet been extensively tested.
Please let us know if this fixes things for you.
Thank again for reporting the problem
Julie