Fix bug, the rank was not set properly
This commit is contained in:
parent
391c4629a7
commit
df5c0de8b7
|
@ -17,7 +17,7 @@ c
|
|||
c Local variables
|
||||
c
|
||||
integer :: lwork
|
||||
complex*16 :: wquery
|
||||
complex*16 :: wquery(1)
|
||||
complex*16 :: vl(1,1), vr(1,1)
|
||||
c
|
||||
real*8, allocatable :: rwork(:)
|
||||
|
@ -39,7 +39,7 @@ c
|
|||
write(iuo1,*) ' '
|
||||
end if
|
||||
c
|
||||
lwork = int(wquery)
|
||||
lwork = int(wquery(1))
|
||||
allocate(work(lwork))
|
||||
c
|
||||
call zgeev('n','n',n,a,lda,w,vl,1,vr,1,work,lwork,rwork,info)
|
||||
|
|
Loading…
Reference in New Issue