From 7a3a54740337391743e7d11f632c457b9ddc4eb5 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Thu, 26 Jan 2017 18:27:34 +0000
Subject: [PATCH] Revert "Force a sort of the particles at every time-step for
 active cells and at reception of data."

This reverts commit 078d450fe06570efa94ea785c990a26f61c8efe6
---
 src/runner.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/runner.c b/src/runner.c
index 4ee11c91aa..803ef5e3b0 100644
--- a/src/runner.c
+++ b/src/runner.c
@@ -1147,9 +1147,6 @@ void runner_do_timestep(struct runner *r, struct cell *c, int timer) {
   c->ti_end_min = ti_end_min;
   c->ti_end_max = ti_end_max;
 
-  /* Clear the sort field */
-  c->sorted = 0;
-
   if (timer) TIMER_TOC(timer_timestep);
 }
 
@@ -1276,9 +1273,6 @@ void runner_do_recv_cell(struct runner *r, struct cell *c, int timer) {
   c->ti_old = ti_current;
   c->h_max = h_max;
 
-  /* Clear the sort field */
-  c->sorted = 0;
-
   if (timer) TIMER_TOC(timer_dorecv_cell);
 
 #else
-- 
GitLab