Skip to content
Snippets Groups Projects
Commit 929acdf8 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Initialise the hash map used to send FOF halo masses

parent 80d75425
Branches
Tags
1 merge request!1148Initialise the hash map used to send FOF halo masses
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment