From 02dbafb0e4b109583e718b79f0130b627d15ae64 Mon Sep 17 00:00:00 2001 From: Pedro Gonnet <gonnet@google.com> Date: Wed, 16 Sep 2015 17:12:18 +0200 Subject: [PATCH] comment-out verification, should only be used for debugging. Former-commit-id: 0a563d808c4b589846f7298b5a884ba132d2b7b3 --- src/space.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/space.c b/src/space.c index 5d2ac8b59d..bcb676afd7 100644 --- a/src/space.c +++ b/src/space.c @@ -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); -- GitLab