From 214ef8a8d71cf47f2ca64402353c10dbefc7229f Mon Sep 17 00:00:00 2001
From: "Peter W. Draper" <p.w.draper@durham.ac.uk>
Date: Thu, 14 Jul 2016 17:33:16 +0100
Subject: [PATCH] Fix to use new entropy flag

---
 tests/testReading.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/testReading.c b/tests/testReading.c
index 2fa88855a7..9037de0ccc 100644
--- a/tests/testReading.c
+++ b/tests/testReading.c
@@ -27,6 +27,7 @@ int main() {
 
   size_t Ngas = 0, Ngpart = 0;
   int periodic = -1;
+  int entropy = 1;
   int i, j, k, n;
   double dim[3];
   struct part *parts = NULL;
@@ -39,7 +40,7 @@ int main() {
 
   /* Read data */
   read_ic_single("input.hdf5", dim, &parts, &gparts, &Ngas, &Ngpart, &periodic,
-                 0);
+                 &entropy, 0);
 
   /* Check global properties read are correct */
   assert(dim[0] == boxSize);
-- 
GitLab