From e84d9074dbdf81f98b84a985215fa015cad46ba5 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Wed, 17 Feb 2016 23:51:54 +0000
Subject: [PATCH] Removed undefined behaviour.

---
 src/runner_doiact.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/runner_doiact.h b/src/runner_doiact.h
index 1b987eb140..7b3c73970d 100644
--- a/src/runner_doiact.h
+++ b/src/runner_doiact.h
@@ -958,8 +958,8 @@ void DOPAIR2(struct runner *r, struct cell *ci, struct cell *cj) {
   struct engine *restrict e = r->e;
   int pid, pjd, k, sid;
   double rshift, shift[3] = {0.0, 0.0, 0.0};
-  struct entry *restrict sort_i, *restrict sort_j;
-  struct entry *restrict sortdt_i = NULL, *restrict sortdt_j = NULL;
+  struct entry *sort_i, *sort_j;
+  struct entry *sortdt_i = NULL, *sortdt_j = NULL;
   int countdt_i = 0, countdt_j = 0;
   struct part *restrict pi, *restrict pj, *restrict parts_i, *restrict parts_j;
   double pix[3], pjx[3], di, dj;
-- 
GitLab