Page 1 of 1

CGGES3 [CZ]GELSS: Complex/real mixups

PostPosted: Fri Apr 29, 2016 12:31 pm
by nathanw
For CGGES3, there is an argument that is complex where a real array is expected.

SRC/cgges3.f:397

I changed WORK to RWORK in the second to last argument to CHGEQZ.

SRC/cgelss.f:288,318,349
SRC/zgelss.f:288,318,349

For GELSS, there is a DUM dummy argument but it is complex, [CZ]GEBRD expects a real array as 6th argument. I added a "REAL DUMMY(1)" in local arrays, then passed DUMMY for 6th argument of [CZ]GEBRD.

Re: CGGES3 [CZ]GELSS: Complex/real mixups

PostPosted: Fri Apr 29, 2016 5:41 pm
by Julien Langou
Hi Nathan,

Updated LAPACK according to your comments. Thanks! (See r1742 and 1744.)

Cheers,
Julien.