--- rpl/lapack/lapack/zhpevd.f 2017/06/17 11:06:50 1.15 +++ rpl/lapack/lapack/zhpevd.f 2023/08/07 08:39:26 1.18 @@ -134,8 +134,7 @@ *> *> \param[out] RWORK *> \verbatim -*> RWORK is DOUBLE PRECISION array, -*> dimension (LRWORK) +*> RWORK is DOUBLE PRECISION array, dimension (MAX(1,LRWORK)) *> On exit, if INFO = 0, RWORK(1) returns the required LRWORK. *> \endverbatim *> @@ -193,18 +192,15 @@ *> \author Univ. of Colorado Denver *> \author NAG Ltd. * -*> \date December 2016 -* *> \ingroup complex16OTHEReigen * * ===================================================================== SUBROUTINE ZHPEVD( JOBZ, UPLO, N, AP, W, Z, LDZ, WORK, LWORK, $ RWORK, LRWORK, IWORK, LIWORK, INFO ) * -* -- LAPACK driver routine (version 3.7.0) -- +* -- LAPACK driver routine -- * -- LAPACK is a software package provided by Univ. of Tennessee, -- * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- -* December 2016 * * .. Scalar Arguments .. CHARACTER JOBZ, UPLO @@ -304,7 +300,7 @@ $ RETURN * IF( N.EQ.1 ) THEN - W( 1 ) = AP( 1 ) + W( 1 ) = DBLE( AP( 1 ) ) IF( WANTZ ) $ Z( 1, 1 ) = CONE RETURN