From Inge:
In the tests,
TESTING/EIG/cchkhs.f (similar in zchkhs.f) in line 492 N = NN ( JSIZE )
is set. If NN( JSIZE ) is zero, CCOPY (N-1,....) gives an error message
and the test breaks. In the real versions dchkhs after N = NN ( JSIZE )
there is
IF ( N .EQ. 0 ) GO TO 270, so there DCOPY does not exit with an error
message.
I think the same statement should be added in the complex version to
avoid copying -1 element.
*
DO 260 JSIZE = 1, NSIZES
N = NN( JSIZE )
+ IF( N.EQ.0 )
+ $ GO TO 260
N1 = MAX( 1, N )
ANINV = ONE / REAL( N1 )
*
*
DO 260 JSIZE = 1, NSIZES
N = NN( JSIZE )
+ IF( N.EQ.0 )
+ $ GO TO 260
N1 = MAX( 1, N )
ANINV = ONE / DBLE( N1 )
*