|
|
|
@ -1304,7 +1304,7 @@ function psb_c_csr_csnmi(a) result(res)
|
|
|
|
|
if (a%is_dev()) call a%sync()
|
|
|
|
|
|
|
|
|
|
do i = 1, a%get_nrows()
|
|
|
|
|
acc = dzero
|
|
|
|
|
acc = szero
|
|
|
|
|
do j=a%irp(i),a%irp(i+1)-1
|
|
|
|
|
acc = acc + abs(a%val(j))
|
|
|
|
|
end do
|
|
|
|
@ -3331,7 +3331,8 @@ subroutine psb_c_csr_clean_zeros(a, info)
|
|
|
|
|
integer(psb_ipk_) :: i, j, k, nr
|
|
|
|
|
integer(psb_ipk_), allocatable :: ilrp(:)
|
|
|
|
|
|
|
|
|
|
info = 0
|
|
|
|
|
info = 0
|
|
|
|
|
call a%sync()
|
|
|
|
|
nr = a%get_nrows()
|
|
|
|
|
ilrp = a%irp(:)
|
|
|
|
|
a%irp(1) = 1
|
|
|
|
@ -3347,6 +3348,7 @@ subroutine psb_c_csr_clean_zeros(a, info)
|
|
|
|
|
a%irp(i+1) = j
|
|
|
|
|
end do
|
|
|
|
|
call a%trim()
|
|
|
|
|
call a%set_host()
|
|
|
|
|
end subroutine psb_c_csr_clean_zeros
|
|
|
|
|
|
|
|
|
|
subroutine psb_ccsrspspmm(a,b,c,info)
|
|
|
|
|