diff --git a/src/hydro/MinimalMultiMat/hydro_io.h b/src/hydro/MinimalMultiMat/hydro_io.h index 61301157e12b625f3ca1fb6cf5d5238d82403c9f..7f41f5e227b6c8a8904b5546a2568b4700109abd 100644 --- a/src/hydro/MinimalMultiMat/hydro_io.h +++ b/src/hydro/MinimalMultiMat/hydro_io.h @@ -69,8 +69,8 @@ INLINE static void hydro_read_particles(struct part* parts, UNIT_CONV_ACCELERATION, parts, a_hydro); list[7] = io_make_input_field("Density", FLOAT, 1, OPTIONAL, UNIT_CONV_DENSITY, parts, rho); - list[8] = - io_make_input_field("MaterialID", INT, 1, OPTIONAL, 1, parts, mat_id); + list[8] = io_make_input_field("MaterialID", INT, 1, COMPULSORY, + UNIT_CONV_NO_UNITS, parts, mat_id); } INLINE static void convert_S(const struct engine* e, const struct part* p,