Skip to content
Snippets Groups Projects
Commit e90dd24b authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Need to also init the gravity links

parent 6796bc8a
No related branches found
No related tags found
No related merge requests found
......@@ -399,6 +399,7 @@ void space_regrid(struct space *s, double cell_max, int verbose) {
s->cells_top[k].density = NULL;
s->cells_top[k].gradient = NULL;
s->cells_top[k].force = NULL;
s->cells_top[k].grav = NULL;
s->cells_top[k].dx_max = 0.0f;
s->cells_top[k].sorted = 0;
s->cells_top[k].count = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment