From 3adbf5066e315a786e1e6cb61dfa97cd1dd2753e Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Sat, 22 Aug 2020 21:35:25 +0200
Subject: [PATCH] Fixed silly copy-paste typo in parallel-i/o

---
 src/parallel_io.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/parallel_io.c b/src/parallel_io.c
index e7c877b2d8..270e97170a 100644
--- a/src/parallel_io.c
+++ b/src/parallel_io.c
@@ -981,8 +981,7 @@ void read_ic_parallel(char* fileName, const struct unit_system* internal_units,
         if (with_hydro) {
           Nparticles = *Ngas;
           hydro_read_particles(*parts, list, &num_fields);
-          num_fields += chemistry_read_particles(*parts, list + num_fields,
-                                                 with_cosmology);
+          num_fields += chemistry_read_particles(*parts, list + num_fields);
         }
         break;
 
-- 
GitLab