aboutsummaryrefslogtreecommitdiff
path: root/src/Topology.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Topology.c')
-rw-r--r--src/Topology.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Topology.c b/src/Topology.c
index 048140a..e9b5592 100644
--- a/src/Topology.c
+++ b/src/Topology.c
@@ -153,7 +153,7 @@ static int TraditionalTopology(int dim,
/* if the user specified the number of processors for each dimension
check that they sum up to the total number of processors available */
- if (dim > 0 && retval == 0 && free_dims == 0 && used_procs != total_procs)
+ if (dim > 1 && retval == 0 && free_dims == 0 && used_procs != total_procs)
{
CCTK_WARN(0, "Inconsistent PUGH topology");
}