Fix really stupid communication mistake

This commit is contained in:
Lisa Julia Nebel 2024-12-20 06:23:09 +01:00
parent ece9456438
commit 09d036a4fb

View File

@ -152,7 +152,7 @@ apply(const BVector& x, BVector& Ax) const
duneB_.mv(x, Bx);
if (this->pw_info_.communication().size() == 1) {
if (this->pw_info_.communication().size() > 1) {
// We need to communicate here to get the contributions from all segments
this->pw_info_.communication().sum(Bx.data(), Bx.size());
}