Cosmetic changes to fnd_owner for BLOCK.

pizdaint-runs
Salvatore Filippone 5 years ago
parent 1493be1de6
commit db17057924

@ -2192,7 +2192,7 @@ contains
integer(psb_ipk_) :: lb, ub, m integer(psb_ipk_) :: lb, ub, m
choice: if (n >5) then binsrch: if (n > 8) then
lb = 1 lb = 1
ub = n ub = n
ipos = -1 ipos = -1
@ -2201,7 +2201,7 @@ contains
m = (lb+ub)/2 m = (lb+ub)/2
if (key==v(m)) then if (key==v(m)) then
ipos = m ipos = m
exit choice exit binsrch
else if (key < v(m)) then else if (key < v(m)) then
ub = m-1 ub = m-1
else else
@ -2215,7 +2215,7 @@ contains
else else
! No binary search, do everything in the final cleanup ! No binary search, do everything in the final cleanup
ipos = 0 ipos = 0
end if choice end if binsrch
! Final cleanup ! Final cleanup
! This is needed because V may contain repeated entries ! This is needed because V may contain repeated entries
@ -2239,7 +2239,7 @@ contains
integer(psb_ipk_) :: lb, ub, m integer(psb_ipk_) :: lb, ub, m
choice: if (n >5) then binsrch: if (n > 8) then
lb = 1 lb = 1
ub = n ub = n
ipos = -1 ipos = -1
@ -2248,7 +2248,7 @@ contains
m = (lb+ub)/2 m = (lb+ub)/2
if (key==v(m)) then if (key==v(m)) then
ipos = m ipos = m
exit choice exit binsrch
else if (key < v(m)) then else if (key < v(m)) then
ub = m-1 ub = m-1
else else
@ -2262,7 +2262,7 @@ contains
else else
! No binary search, do everything in the final cleanup ! No binary search, do everything in the final cleanup
ipos = 0 ipos = 0
end if choice end if binsrch
! Final cleanup ! Final cleanup
! This is needed because V may contain repeated entries ! This is needed because V may contain repeated entries

Loading…
Cancel
Save