mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #423 from dr-robertk/PR/no-update-operator-for-bool
SimulatorBase: avoid using update operator for bool.
This commit is contained in:
commit
c86d25a5be
@ -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