*** empty log message ***

psblas3-type-indexed
Alfredo Buttari 19 years ago
parent 2d592b9058
commit 9e6e6b42f4

@ -56,16 +56,14 @@ Contains
goto 9999 goto 9999
end if end if
rrax=>tmp rrax=>tmp
End If end if
else else
allocate(rrax(len),stat=info) allocate(rrax(len),stat=info)
if (info /= 0) then if (info /= 0) then
err=4000 err=4000
call psb_errpush(err,name) call psb_errpush(err,name)
goto 9999 goto 9999
end if end if
rrax=>tmp
end if
endif endif
if (present(pad)) then if (present(pad)) then
rrax(dim+1:len) = pad rrax(dim+1:len) = pad

@ -121,32 +121,32 @@ subroutine psb_dspfrees(a, info)
!...deallocate a.... !...deallocate a....
if ((info.eq.0).and.(.not.associated(a%pr))) info=2951 ! if ((info.eq.0).and.(.not.associated(a%pr))) info=2951
if (info.eq.0) then if ((info.eq.0).and.(associated(a%pr))) then
!deallocate pr field !deallocate pr field
deallocate(a%pr,stat=info) deallocate(a%pr,stat=info)
if (info.ne.0) info=2045 if (info.ne.0) info=2045
end if end if
if ((info.eq.0).and.(.not.associated(a%pl))) info=2952 ! if ((info.eq.0).and.(.not.associated(a%pl))) info=2952
!deallocate pl field !deallocate pl field
if (info.eq.0) then if ((info.eq.0).and.(associated(a%pl))) then
deallocate(a%pl,stat=info) deallocate(a%pl,stat=info)
if (info.ne.0) info=2046 if (info.ne.0) info=2046
end if end if
if ((info.eq.0).and.(.not.associated(a%ia2))) info=2953 ! if ((info.eq.0).and.(.not.associated(a%ia2))) info=2953
if (info.eq.0) then if ((info.eq.0).and.(associated(a%ia2))) then
!deallocate ia2 field !deallocate ia2 field
deallocate(a%ia2,stat=info) deallocate(a%ia2,stat=info)
if (info.ne.0) info=2047 if (info.ne.0) info=2047
end if end if
if ((info.eq.0).and.(.not.associated(a%ia1))) info=2954 ! if ((info.eq.0).and.(.not.associated(a%ia1))) info=2954
if (info.eq.0) then if ((info.eq.0).and.(associated(a%ia1))) then
!deallocate ia1 field !deallocate ia1 field
deallocate(a%ia1,stat=info) deallocate(a%ia1,stat=info)
if (info.ne.0) info=2048 if (info.ne.0) info=2048
endif endif
if ((info.eq.0).and.(.not.associated(a%aspk))) info=2955 ! if ((info.eq.0).and.(.not.associated(a%aspk))) info=2955
if (info.eq.0) then if ((info.eq.0).and.(associated(a%aspk))) then
!deallocate aspk field !deallocate aspk field
deallocate(a%aspk,stat=info) deallocate(a%aspk,stat=info)
if (info.ne.0) info=2049 if (info.ne.0) info=2049

Loading…
Cancel
Save