Commit c05aefab authored by Matthieu Schaller's avatar Matthieu Schaller

Only print a message about the number of particles to split if > 0

parent 7b60591c
...@@ -302,7 +302,8 @@ void engine_split_gas_particles(struct engine *e) { ...@@ -302,7 +302,8 @@ void engine_split_gas_particles(struct engine *e) {
} }
/* Be verbose about this. This is an important event */ /* Be verbose about this. This is an important event */
message("Splitting %zd particles above the mass threshold", counter); if (counter > 0)
message("Splitting %zd particles above the mass threshold", counter);
/* Number of particles to create */ /* Number of particles to create */
const long long count_new_gas = counter * particle_split_factor; const long long count_new_gas = counter * particle_split_factor;
......
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