|
|
@ -321,15 +321,13 @@ subroutine psb_base_trim(a)
|
|
|
|
character(len=20) :: name='trim'
|
|
|
|
character(len=20) :: name='trim'
|
|
|
|
logical, parameter :: debug=.false.
|
|
|
|
logical, parameter :: debug=.false.
|
|
|
|
|
|
|
|
|
|
|
|
call psb_get_erraction(err_act)
|
|
|
|
!
|
|
|
|
! This is the base version. If we get here
|
|
|
|
! This is the base version.
|
|
|
|
! it means the derived class is incomplete,
|
|
|
|
! The correct action is: do nothing.
|
|
|
|
! so we throw an error.
|
|
|
|
! Indeed, the more complicated the data structure, the
|
|
|
|
call psb_errpush(psb_err_missing_override_method_,name,a_err=a%get_fmt())
|
|
|
|
! more likely this is the only possible course.
|
|
|
|
|
|
|
|
!
|
|
|
|
|
|
|
|
|
|
|
|
if (err_act /= psb_act_ret_) then
|
|
|
|
|
|
|
|
call psb_error()
|
|
|
|
|
|
|
|
end if
|
|
|
|
|
|
|
|
return
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
end subroutine psb_base_trim
|
|
|
|
end subroutine psb_base_trim
|
|
|
|