Commit ced55896 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Initialise the entropy only once.

parent 254cc1b5
......@@ -1953,7 +1953,7 @@ void engine_init_particles(struct engine *e) {
TIMER_TOC(timer_runners);
/* Apply some conversions (e.g. internal energy -> entropy) */
space_map_cells_pre(s, 1, cell_convert_hydro, NULL);
space_map_cells_pre(s, 0, cell_convert_hydro, NULL);
/* Ready to go */
e->step = -1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment