Commit 3adbf506 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fixed silly copy-paste typo in parallel-i/o

parent f31d1db8
...@@ -981,8 +981,7 @@ void read_ic_parallel(char* fileName, const struct unit_system* internal_units, ...@@ -981,8 +981,7 @@ void read_ic_parallel(char* fileName, const struct unit_system* internal_units,
if (with_hydro) { if (with_hydro) {
Nparticles = *Ngas; Nparticles = *Ngas;
hydro_read_particles(*parts, list, &num_fields); hydro_read_particles(*parts, list, &num_fields);
num_fields += chemistry_read_particles(*parts, list + num_fields, num_fields += chemistry_read_particles(*parts, list + num_fields);
with_cosmology);
} }
break; break;
......
Markdown is supported
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