diff --git a/src/engine.c b/src/engine.c index 17faf73a20b3bdb6c39fc3b8098ab5315c8a96c8..6727dce6c372c63965516f2065635cd32faffe7f 100644 --- a/src/engine.c +++ b/src/engine.c @@ -2246,7 +2246,7 @@ void engine_prepare(struct engine *e, int nodrift) { TIMER_TOC(timer_prepare); if (e->verbose) - message("took %.3f %s (including marktask, rebuild and reweight).", + message("took %.3f %s (including drift all, rebuild and reweight).", clocks_from_ticks(getticks() - tic), clocks_getunit()); } diff --git a/src/statistics.c b/src/statistics.c index 847bf24cb7ed34cf4f472dd069a4f9e2e39ecb1c..7a567a447a7514634435823e03bec5e4ac157d4e 100644 --- a/src/statistics.c +++ b/src/statistics.c @@ -157,7 +157,7 @@ void stats_collect_part_mapper(void *map_data, int nr_parts, void *extra_data) { stats.E_pot_self += 0.f; if (gp != NULL) stats.E_pot_ext += - m * external_gravity_get_potential_energy(potential, phys_const, gp); + m * external_gravity_get_potential_energy(potential, phys_const, gp); stats.E_int += m * hydro_get_internal_energy(p, dt); stats.E_rad += cooling_get_radiated_energy(xp);