Skip to content
Snippets Groups Projects
Commit 87df0374 authored by mattijs's avatar mattijs
Browse files

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

parent f6a37006
Branches
Tags
No related merge requests found
......@@ -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;
......
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