Skip to content
Snippets Groups Projects

Update comment

Merged Loic Hausammann requested to merge update_comment into master
1 file
+ 2
3
Compare changes
  • Side-by-side
  • Inline
+ 2
3
@@ -379,9 +379,8 @@ void runner_do_star_formation(struct runner *r, struct cell *c, int timer) {
const float dx_part = sqrtf(dx2_part);
const float dx_sort = sqrtf(dx2_sort);
/* No need to climb up the tree as the star formation starts
higher in the hierarchy than the hydro and goes to the bottom
*/
/* Note: no need to update quantities further up the tree as
this task is always called at the top-level */
c->hydro.dx_max_part = max(c->hydro.dx_max_part, dx_part);
c->hydro.dx_max_sort = max(c->hydro.dx_max_sort, dx_sort);
}
Loading