Adds missing parallel reduction to euclidianNorm for multiple components

This commit is contained in:
Markus Blatt 2016-06-27 15:33:09 +02:00
parent 9149c6ad13
commit 6c69b2fd99

View File

@ -1173,7 +1173,7 @@ namespace detail {
product += cell_product * (*mask); product += cell_product * (*mask);
} }
} }
return product; return info.communicator().sum(product);
} }
else else
#endif #endif