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

More symmetry in one of the conditions to activate a subcell task

parent 0ebed7a7
...@@ -1359,7 +1359,7 @@ void cell_activate_subcell_tasks(struct cell *ci, struct cell *cj, ...@@ -1359,7 +1359,7 @@ void cell_activate_subcell_tasks(struct cell *ci, struct cell *cj,
ci->dmin && ci->dmin &&
2.f * kernel_gamma * space_stretch * 2.f * kernel_gamma * space_stretch *
(cj->h_max_old + cj->dx_max_old) < (cj->h_max_old + cj->dx_max_old) <
ci->dmin) { cj->dmin) {
/* Get the type of pair if not specified explicitly. */ /* Get the type of pair if not specified explicitly. */
double shift[3]; double shift[3];
......
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