Fixed "negative amount of memory allocation" error

psblas3-type-indexed
Alfredo Buttari 19 years ago
parent 5538ceba32
commit 8c82169764

@ -121,7 +121,7 @@ subroutine psb_ihalom(x,desc_a,info,alpha,jx,ik,work,tran,mode)
!!$ end if !!$ end if
!!$ end if !!$ end if
liwork=ncol liwork=nrow
if (present(work)) then if (present(work)) then
if(size(work).ge.liwork) then if(size(work).ge.liwork) then
iwork => work iwork => work
@ -279,7 +279,7 @@ subroutine psb_ihalov(x,desc_a,info,alpha,work,tran,mode)
!!$ end if !!$ end if
!!$ end if !!$ end if
liwork=ncol liwork=nrow
if (present(work)) then if (present(work)) then
if(size(work).ge.liwork) then if(size(work).ge.liwork) then
iwork => work iwork => work

Loading…
Cancel
Save