Fix sizeof

newG2L
Salvatore Filippone 4 years ago
parent abf486077c
commit 3c6dcddfea

@ -401,12 +401,7 @@ contains
end if end if
val = 0 val = 0
val = val + psb_sizeof_int val = val + prec%prec%sizeof()
if (allocated(prec%precv)) then
do i=1, size(prec%precv)
val = val + prec%precv(i)%sizeof()
end do
end if
if (global_) then if (global_) then
ctxt = prec%ctxt ctxt = prec%ctxt
call psb_sum(ctxt,val) call psb_sum(ctxt,val)

@ -401,12 +401,7 @@ contains
end if end if
val = 0 val = 0
val = val + psb_sizeof_int val = val + prec%prec%sizeof()
if (allocated(prec%precv)) then
do i=1, size(prec%precv)
val = val + prec%precv(i)%sizeof()
end do
end if
if (global_) then if (global_) then
ctxt = prec%ctxt ctxt = prec%ctxt
call psb_sum(ctxt,val) call psb_sum(ctxt,val)

@ -401,12 +401,7 @@ contains
end if end if
val = 0 val = 0
val = val + psb_sizeof_int val = val + prec%prec%sizeof()
if (allocated(prec%precv)) then
do i=1, size(prec%precv)
val = val + prec%precv(i)%sizeof()
end do
end if
if (global_) then if (global_) then
ctxt = prec%ctxt ctxt = prec%ctxt
call psb_sum(ctxt,val) call psb_sum(ctxt,val)

@ -401,12 +401,7 @@ contains
end if end if
val = 0 val = 0
val = val + psb_sizeof_int val = val + prec%prec%sizeof()
if (allocated(prec%precv)) then
do i=1, size(prec%precv)
val = val + prec%precv(i)%sizeof()
end do
end if
if (global_) then if (global_) then
ctxt = prec%ctxt ctxt = prec%ctxt
call psb_sum(ctxt,val) call psb_sum(ctxt,val)

Loading…
Cancel
Save