Commit 87df0374 authored by mattijs's avatar mattijs
Browse files

ENH: Cloud.H: protect remainder for tracking rescue message

parent f6a37006
......@@ -193,7 +193,7 @@ public:
void trackingRescue() const
{
nTrackingRescues_++;
if (cloud::debug && nTrackingRescues_ % size() == 0)
if (cloud::debug && size() && (nTrackingRescues_ % size() == 0))
{
Pout<< " " << nTrackingRescues_
<< " tracking rescues " << endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment