Skip to content
Snippets Groups Projects
Commit fc733ee5 authored by Felix Schindler's avatar Felix Schindler
Browse files

[common.exceptions] fix parallel output (we should always be more than 0^^)

parent ab460cdf
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ if (a.size() != b.size()) ...@@ -34,7 +34,7 @@ if (a.size() != b.size())
th__msg << m; \ th__msg << m; \
std::ostringstream th__out; \ std::ostringstream th__out; \
th__out << red << #E << clear; \ 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 << " (on rank " << Dune::MPIHelper::getCollectiveCommunication().rank() << ")"; \
th__out << "\n"; \ th__out << "\n"; \
th__out << red << "[" << clear; \ th__out << red << "[" << clear; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment