diff --git a/src/engine.c b/src/engine.c index c8b808c2c50975a7bf155991f93ef8ffa4041a15..abb43cd600554c50d167054ce196556c252c0e79 100644 --- a/src/engine.c +++ b/src/engine.c @@ -3048,7 +3048,7 @@ void engine_collect_end_of_step_mapper(void *map_data, int num_elements, data->b_inhibited += b_inhibited; /* Add the SFH information from this engine to the global data */ - star_formation_logger_add_first_to_second(&sfh_updated,sfh_top); + star_formation_logger_add_first_to_second(&sfh_updated, sfh_top); if (ti_hydro_end_min > e->ti_current) data->ti_hydro_end_min = min(ti_hydro_end_min, data->ti_hydro_end_min); diff --git a/src/runner.c b/src/runner.c index f678b1ca13686102dd3da80800d90362a82c6f0f..b7595f6ee703806287ee64279f1ee5a15edb1e8b 100644 --- a/src/runner.c +++ b/src/runner.c @@ -638,7 +638,8 @@ void runner_do_star_formation(struct runner *r, struct cell *c, int timer) { runner_do_star_formation(r, cp, 0); /* Update current cell using child cells */ - star_formation_logger_add_first_to_second(&cp->stars.sfh,&c->stars.sfh); + star_formation_logger_add_first_to_second(&cp->stars.sfh, + &c->stars.sfh); } } else {