Do recurse in the recursive funtion computeGlobalReduction!

Somehow this was missed and only the first entry in the tuple
was computed globally.
This commit is contained in:
Markus Blatt 2015-01-23 20:46:46 +01:00
parent 6c25e04c9f
commit 2f211f5469

View File

@ -250,6 +250,7 @@ private:
{ {
auto& val=std::get<I>(values); auto& val=std::get<I>(values);
val = std::get<I>(operators).localOperator()(val, std::get<I>(receivedValues)); val = std::get<I>(operators).localOperator()(val, std::get<I>(receivedValues));
computeGlobalReduction<I+1>(receivedValues, operators, values);
} }
/// \brief TMP for computing the the local reduction on the DOF that the process owns. /// \brief TMP for computing the the local reduction on the DOF that the process owns.
/// ///