mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix really stupid communication mistake
This commit is contained in:
parent
ece9456438
commit
09d036a4fb
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user