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

Just use maxdepth to avoid thread issues with the space.

parent 46b9eceb
No related branches found
No related tags found
1 merge request!250Add some sanity checking when splitting cells.
......@@ -1270,7 +1270,7 @@ void space_split_mapper(void *map_data, int num_elements, void *extra_data) {
}
/* If the depth is too large, we have a problem and should stop. */
if (s->maxdepth > space_cell_maxdepth) {
if (maxdepth > space_cell_maxdepth) {
error("Exceeded maximum depth (%d) when splitting cells, aborting",
space_cell_maxdepth);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment