diff --git a/src/starformation/none/starformation.h b/src/starformation/none/starformation.h index 5f17ab05af3c8b236eb9e216951aca8e6054113d..a8349862d32ee614d490a58495491ee9ef9b2359 100644 --- a/src/starformation/none/starformation.h +++ b/src/starformation/none/starformation.h @@ -38,6 +38,7 @@ struct star_formation {}; /** * @brief Calculates if the gas particle gets converted + * The gas will never be converted in none, so always returns 0. * * @param the #engine * @param starform the star formation law properties to use. diff --git a/src/stars/EAGLE/stars.h b/src/stars/EAGLE/stars.h index ffcb93d6222f67c6402328f6b92b7b2aed5df5fc..958736a32176816c73259d400b2137de205459dd 100644 --- a/src/stars/EAGLE/stars.h +++ b/src/stars/EAGLE/stars.h @@ -45,6 +45,7 @@ __attribute__((always_inline)) INLINE static void stars_first_init_spart( struct spart* sp) { sp->time_bin = 0; + sp->new_star_flag = 0; } /**