diff --git a/dune/stuff/common/exceptions.hh b/dune/stuff/common/exceptions.hh index 2435979544a2999984f2c0db7db689ee620f5bab..3a16b1c116360395e94fa9048e954c02f6b18144 100644 --- a/dune/stuff/common/exceptions.hh +++ b/dune/stuff/common/exceptions.hh @@ -34,7 +34,7 @@ if (a.size() != b.size()) th__msg << m; \ std::ostringstream th__out; \ th__out << red << #E << clear; \ - if (Dune::MPIHelper::getCollectiveCommunication().size() > 0) \ + if (Dune::MPIHelper::getCollectiveCommunication().size() > 1) \ th__out << " (on rank " << Dune::MPIHelper::getCollectiveCommunication().rank() << ")"; \ th__out << "\n"; \ th__out << red << "[" << clear; \