diff --git a/src/runner.c b/src/runner.c index e845d29288ecbd2b0d76587b42555c3777639864..63243ab66d24a2efc045e19e866e24b7a0f4868c 100644 --- a/src/runner.c +++ b/src/runner.c @@ -672,7 +672,7 @@ void runner_do_drift(struct runner *r, struct cell *c, int timer) { e_int += m * hydro_get_internal_energy(p, half_dt); /* Collect entropy */ - entropy += hydro_get_entropy(p, half_dt); + entropy += m * hydro_get_entropy(p, half_dt); } /* Now, get the maximal particle motion from its square */