Fixed small bugs in TRANS handling.

psblas3-type-indexed
Salvatore Filippone 19 years ago
parent 55a22b9c73
commit 9bb64be14d

@ -160,9 +160,10 @@ subroutine psb_dspmm(alpha,a,x,beta,y,desc_a,info,&
endif endif
if (present(trans)) then if (present(trans)) then
if((trans.eq.'N').or.(trans.eq.'T')) then if ((trans.eq.'N').or.(trans.eq.'T')&
& .or.(trans.eq.'n').or.(trans.eq.'t')) then
itrans = trans itrans = trans
else if (trans.eq.'C') then else if ((trans.eq.'C').or.(trans.eq.'c')) then
info = 3020 info = 3020
call psb_errpush(info,name) call psb_errpush(info,name)
goto 9999 goto 9999

@ -165,9 +165,10 @@ subroutine psb_dspsm(alpha,a,x,beta,y,desc_a,info,&
endif endif
if (present(trans)) then if (present(trans)) then
if((trans.eq.'N').or.(trans.eq.'T')) then if ((trans.eq.'N').or.(trans.eq.'T')&
& .or.(trans.eq.'n').or.(trans.eq.'t')) then
itrans = trans itrans = trans
else if (trans.eq.'C') then else if ((trans.eq.'C').or.(trans.eq.'c')) then
info = 3020 info = 3020
call psb_errpush(info,name) call psb_errpush(info,name)
goto 9999 goto 9999

Loading…
Cancel
Save