Commit 80e600c2 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Merge branch 'update_comment' into 'master'

Update comment

See merge request !1094
parents 37089ece 599e66c6
......@@ -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);
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