From f8497b7fdbefc3278f080a20c1e51a1e85c488dd Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Thu, 22 Aug 2019 16:18:57 +0100 Subject: [PATCH] Fix typo in last commit. Thanks Josh. --- src/hydro/AnarchyPU/hydro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hydro/AnarchyPU/hydro.h b/src/hydro/AnarchyPU/hydro.h index 04882ee12e..9bd10ed7a2 100644 --- a/src/hydro/AnarchyPU/hydro.h +++ b/src/hydro/AnarchyPU/hydro.h @@ -422,7 +422,7 @@ hydro_set_drifted_physical_internal_energy(struct part *p, /* Now recompute the extra quantities */ /* Compute the sound speed */ - const float soundspeed = gas_soundspeed_from_pressure(p->rho; p->pressure_bar); + const float soundspeed = gas_soundspeed_from_pressure(p->rho, p->pressure_bar); /* Update variables. */ p->force.soundspeed = soundspeed; -- GitLab