Skip to content
Snippets Groups Projects
Commit 883c49f0 authored by Willem Elbers's avatar Willem Elbers
Browse files

Also check in none configuration

parent e866c3dd
No related branches found
No related tags found
1 merge request!1450Implement additional neutrino models
......@@ -58,7 +58,11 @@ INLINE static void neutrino_check_cosmology(
const struct space *s, const struct cosmology *cosmo,
const struct phys_const *physical_constants, struct swift_params *params,
const struct neutrino_props *neutrino_props, const int rank,
const int verbose) {}
const int verbose) {
if (cosmo->Omega_nu_0 > 0.)
error("Not compiled with neutrinos. Configure with with-neutrinos flag.");
}
__attribute__((always_inline)) INLINE static void gravity_first_init_neutrino(
struct gpart *gp, const struct engine *e) {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment