mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-18 11:52:11 +00:00
Fix bug in psb_check_error()
This commit is contained in:
@@ -140,13 +140,7 @@ contains
|
||||
type(psb_ctxt_type), pointer :: ctxt
|
||||
integer :: info
|
||||
|
||||
if (c_associated(cctxt%item)) then
|
||||
call c_f_pointer(cctxt%item,ctxt)
|
||||
deallocate(ctxt,stat=info)
|
||||
if (info /= 0) return
|
||||
end if
|
||||
allocate(ctxt,stat=info)
|
||||
if (info /= 0) return
|
||||
ctxt => psb_c2f_ctxt(cctxt)
|
||||
call psb_check_error(ctxt,abrt=.true.)
|
||||
|
||||
end subroutine psb_c_check_error
|
||||
|
||||
Reference in New Issue
Block a user