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

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

parent 7b60591c
No related branches found
No related tags found
No related merge requests found
......@@ -302,7 +302,8 @@ void engine_split_gas_particles(struct engine *e) {
}
/* 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 */
const long long count_new_gas = counter * particle_split_factor;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment