Skip to content
Snippets Groups Projects
Commit 61c9ed64 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Use logical or not bitwise

parent fb5d5ae2
No related branches found
No related tags found
No related merge requests found
...@@ -1889,7 +1889,7 @@ void space_rebuild(struct space *s, int repartitioned, int verbose) { ...@@ -1889,7 +1889,7 @@ void space_rebuild(struct space *s, int repartitioned, int verbose) {
const int is_local = (c->nodeID == engine_rank); const int is_local = (c->nodeID == engine_rank);
const int has_particles = (c->hydro.count > 0) || (c->grav.count > 0) || 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) { if (is_local) {
c->hydro.parts = finger; c->hydro.parts = finger;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment