Commit a3787794 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fix typo in the FOF code revealed by the new clang-10 warning options

parent 4c96103a
......@@ -279,7 +279,7 @@ void fof_allocate(const struct space *s, const long long total_nr_DM_particles,
} else {
/* Safety check */
if (!(s->e->policy | engine_policy_cosmology))
if (!(s->e->policy & engine_policy_cosmology))
"Attempting to run FoF on a simulation using cosmological "
"information but cosmology was not initialised");
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