SimulatorBase: avoid using update operator for bool.

This commit is contained in:
Robert Kloefkorn 2015-07-29 10:21:55 +02:00
parent e24cb27ad4
commit affc64f346

View File

@ -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
}