We may sometimes call get_local_range() with a sub_block_rank bigger than the sub_block_size, in particular for the anyv 'serial region'. In this case immediately return 1:0 for the range, as this avoids a potential out-of-bounds array access when accessing n_points_for_proc.
We may sometimes call
get_local_range()
with asub_block_rank
bigger than thesub_block_size
, in particular for theanyv
'serial region'. In this case immediately return1:0
for the range, as this avoids a potential out-of-bounds array access when accessingn_points_for_proc
.Fixes #210.