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
Commits
929acdf8
Commit
929acdf8
authored
4 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Initialise the hash map used to send FOF halo masses
parent
80d75425
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1148
Initialise the hash map used to send FOF halo masses
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/fof.c
+1
-1
1 addition, 1 deletion
src/fof.c
with
1 addition
and
1 deletion
src/fof.c
+
1
−
1
View file @
929acdf8
...
...
@@ -1569,7 +1569,7 @@ void fof_calc_group_mass(struct fof_props *props, const struct space *s,
}
size_t
nsend
=
map
.
size
;
struct
fof_mass_send_hashmap
hashmap_mass_send
;
struct
fof_mass_send_hashmap
hashmap_mass_send
=
{
NULL
,
0
}
;
/* Allocate and initialise a mass array. */
if
(
posix_memalign
((
void
**
)
&
hashmap_mass_send
.
mass_send
,
32
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment