use random access to simplify code during partial_sum of dist wells

This commit is contained in:
Markus Blatt 2020-12-11 11:24:51 +01:00
parent d7ae211729
commit b4ed86313e

View File

@ -128,7 +128,7 @@ public:
{
if (pair.local().attribute() == owner)
{
my_pairs.emplace_back(pair.global(), *(begin+(static_cast<const int&>(pair.local()))));
my_pairs.emplace_back(pair.global(), begin[pair.local()]);
}
}
int mySize = my_pairs.size();