From 61c9ed6492716f37cce1d80058828c1a1736b87a Mon Sep 17 00:00:00 2001 From: "Peter W. Draper" <p.w.draper@durham.ac.uk> Date: Wed, 24 Apr 2019 15:00:40 +0100 Subject: [PATCH] Use logical or not bitwise --- src/space.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/space.c b/src/space.c index 1b5ba0e51c..099a2dcb29 100644 --- a/src/space.c +++ b/src/space.c @@ -1889,7 +1889,7 @@ void space_rebuild(struct space *s, int repartitioned, int verbose) { const int is_local = (c->nodeID == engine_rank); const int has_particles = (c->hydro.count > 0) || (c->grav.count > 0) || - (c->stars.count > 0) | (c->black_holes.count > 0); + (c->stars.count > 0) || (c->black_holes.count > 0); if (is_local) { c->hydro.parts = finger; -- GitLab