Commit f375cd3e authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fixed missing variable initialization.

parent 290cf60b
......@@ -4584,7 +4584,7 @@ void engine_makeproxies(struct engine *e) {
const int with_hydro = (e->policy & engine_policy_hydro);
const int with_gravity = (e->policy & engine_policy_self_gravity);
double CoM_i[3] = {0., 0., 0.};
double r_max_i;
double r_max_i = 0.;
/* Prepare the proxies and the proxy index. */
if (e->proxy_ind == NULL)
......
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