mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-24 18:20:22 -06:00
SimulatorBase: avoid using update operator for bool.
This commit is contained in:
parent
e24cb27ad4
commit
affc64f346
@ -67,8 +67,8 @@ namespace Opm
|
||||
const ParallelISTLInformation& info =
|
||||
boost::any_cast<const ParallelISTLInformation&>(solver_.parallelInformation());
|
||||
// Only rank 0 does print to std::cout
|
||||
terminal_output_ &= ( info.communicator().rank() == 0 );
|
||||
is_parallel_run_ = ( info.communicator().size() > 1 );
|
||||
terminal_output_ = terminal_output_ && ( info.communicator().rank() == 0 );
|
||||
is_parallel_run_ = ( info.communicator().size() > 1 );
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user