Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Merge requests
!1094
Update comment
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update comment
update_comment
into
master
Overview
0
Commits
2
Changes
1
Merged
Loic Hausammann
requested to merge
update_comment
into
master
4 years ago
Overview
0
Commits
2
Changes
1
Expand
In the previous merge request, I forgot to push this change.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
57890a01
2 commits,
4 years ago
1 file
+
2
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/runner_others.c
+
2
−
3
Options
@@ -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