Commit 02dbafb0 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

comment-out verification, should only be used for debugging.


Former-commit-id: 0a563d808c4b589846f7298b5a884ba132d2b7b3
parent 0470d40f
......@@ -505,10 +505,10 @@ void space_parts_sort(struct space *s, int *ind, int N, int min, int max) {
engine_launch(s->e, s->e->nr_threads, (1 << task_type_psort));
/* Verify space_sort_struct. */
for (int i = 1; i < N; i++)
/* for (int i = 1; i < N; i++)
if (ind[i - 1] > ind[i])
error("Sorting failed (ind[%i]=%i,ind[%i]=%i).", i - 1, ind[i - 1], i,
ind[i]);
ind[i]); */
// Clean up.
free(space_sort_struct.stack);
......
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