mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-26 01:01:00 -06:00
Merge pull request #1465 from atgeirr/fix-ilu-serial
Make sure we (re-)throw MatrixBlockError also in the serial case.
This commit is contained in:
commit
45023f304e
@ -464,7 +464,9 @@ protected:
|
||||
}
|
||||
|
||||
// Check whether there was a problem on some process
|
||||
if ( comm_ && comm_->communicator().min(ilu_setup_successful) == 0 )
|
||||
const bool parallel_failure = comm_ && comm_->communicator().min(ilu_setup_successful) == 0;
|
||||
const bool local_failure = ilu_setup_successful == 0;
|
||||
if ( local_failure || parallel_failure )
|
||||
{
|
||||
throw Dune::MatrixBlockError();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user