mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-20 21:02:26 +00:00
Change return value of get_context on error.
This commit is contained in:
@@ -613,8 +613,10 @@ contains
|
||||
if (allocated(desc%indxmap)) then
|
||||
val = desc%indxmap%get_ctxt()
|
||||
else
|
||||
call psb_errpush(psb_err_invalid_cd_state_,'psb_cd_get_context')
|
||||
call psb_error()
|
||||
! At this point, val should a non-ALLOCATED
|
||||
! ctxt component, which suits us just fine.
|
||||
!call psb_errpush(psb_err_invalid_cd_state_,'psb_cd_get_context')
|
||||
!call psb_error()
|
||||
end if
|
||||
end function psb_cd_get_context
|
||||
|
||||
|
||||
Reference in New Issue
Block a user