Added requested braces.

This commit is contained in:
Markus Blatt 2017-04-04 09:58:49 +02:00
parent 6b8b8b971e
commit e56e2cae15

View File

@ -959,8 +959,10 @@ namespace Opm {
// compute global average
grid.comm().sum(B_avg.data(), B_avg.size());
for(auto& bval: B_avg)
{
bval/=global_nc_;
}
auto res = residual();
const int nw = res.size() / np;