Skip to content
Snippets Groups Projects
Commit 1bbf460f authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

don't re-sort stale dimensions on cleanup as we don't know if we're going to...

don't re-sort stale dimensions on cleanup as we don't know if we're going to need these at all. they will get resorted if and when needed.
parent f8776762
Branches
Tags
1 merge request!343Subset sorting
......@@ -350,8 +350,7 @@ void runner_do_sort(struct runner *r, struct cell *c, int flags, int cleanup,
/* Clean-up the flags, i.e. filter out what's already been sorted unless
we're cleaning up. */
if (cleanup && c->dx_max_sort > 0.0f) {
/* Re-compute old (stale) sorts. */
flags |= c->sorted;
/* Clear stale sorts. */
c->sorted = 0;
} else {
/* Ignore dimensions that are already sorted. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment