Fix parallell run

This commit is contained in:
Tor Harald Sandve 2017-09-19 11:16:34 +02:00
parent 69c608829f
commit b452d16f46

View File

@ -45,13 +45,13 @@ namespace Opm {
// has to be set always for the convergence check! // has to be set always for the convergence check!
global_nc_ = global_nc; global_nc_ = global_nc;
phase_usage_ = phase_usage_arg;
active_ = active_arg;
if ( ! localWellsActive() ) { if ( ! localWellsActive() ) {
return; return;
} }
phase_usage_ = phase_usage_arg;
active_ = active_arg;
calculateEfficiencyFactors(); calculateEfficiencyFactors();
#ifndef NDEBUG #ifndef NDEBUG