Use communicator to decide whether this is a truly parallel.

This commit is contained in:
Markus Blatt 2020-05-12 11:35:06 +02:00
parent 1ff1f24fbb
commit 1f177b33e7

View File

@ -823,7 +823,7 @@ protected:
bool isParallel() const { bool isParallel() const {
#if HAVE_MPI #if HAVE_MPI
return parallelInformation_.type() == typeid(ParallelISTLInformation); return comm_->communicator().size() > 1;
#else #else
return false; return false;
#endif #endif