Skip to content
Snippets Groups Projects
Commit 822ed835 authored by James Willis's avatar James Willis
Browse files

Free cell node IDs after VELOCIraptor has used them.

parent b5dea1b6
Branches
Tags
1 merge request!578Swift velociraptor
...@@ -151,4 +151,7 @@ void invoke_velociraptor(struct engine *e) { ...@@ -151,4 +151,7 @@ void invoke_velociraptor(struct engine *e) {
//for(int i=0; i<nr_gparts; i++) message("Potential: %f", gparts[i].potential); //for(int i=0; i<nr_gparts; i++) message("Potential: %f", gparts[i].potential);
InvokeVelociraptor(nr_gparts, gparts, cell_node_ids); InvokeVelociraptor(nr_gparts, gparts, cell_node_ids);
/* Free cell node ids after VELOCIraptor has copied them. */
free(cell_node_ids);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment