Skip to content
Snippets Groups Projects
Commit f8497b7f authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fix typo in last commit. Thanks Josh.

parent 0cc08e36
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment