Fix integer overflow in partition
scatter_map
construction
#13272
+71
−7
partition
scatter_map
construction
#13272