|
|
|
@ -2621,8 +2621,8 @@ subroutine psb_c_csc_trim(a)
|
|
|
|
|
|
|
|
|
|
call psb_erractionsave(err_act)
|
|
|
|
|
info = psb_success_
|
|
|
|
|
n = a%get_ncols()
|
|
|
|
|
nz = a%get_nzeros()
|
|
|
|
|
n = max(1_psb_ipk_,a%get_ncols())
|
|
|
|
|
nz = max(1_psb_ipk_,a%get_nzeros())
|
|
|
|
|
if (info == psb_success_) call psb_realloc(n+1,a%icp,info)
|
|
|
|
|
if (info == psb_success_) call psb_realloc(nz,a%ia,info)
|
|
|
|
|
if (info == psb_success_) call psb_realloc(nz,a%val,info)
|
|
|
|
@ -4461,8 +4461,8 @@ subroutine psb_lc_csc_trim(a)
|
|
|
|
|
|
|
|
|
|
call psb_erractionsave(err_act)
|
|
|
|
|
info = psb_success_
|
|
|
|
|
n = a%get_ncols()
|
|
|
|
|
nz = a%get_nzeros()
|
|
|
|
|
n = max(1_psb_lpk_,a%get_ncols())
|
|
|
|
|
nz = max(1_psb_lpk_,a%get_nzeros())
|
|
|
|
|
if (info == psb_success_) call psb_realloc(n+1,a%icp,info)
|
|
|
|
|
if (info == psb_success_) call psb_realloc(nz,a%ia,info)
|
|
|
|
|
if (info == psb_success_) call psb_realloc(nz,a%val,info)
|
|
|
|
|