From feedfd838b48f62f14d98908d11baa2b6189f4dc Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Mon, 10 Feb 2020 12:04:58 +0100
Subject: [PATCH] Compilation fixes for Intel compile

---
 src/mesh_gravity.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesh_gravity.c b/src/mesh_gravity.c
index 8a0c895392..3d417e978d 100644
--- a/src/mesh_gravity.c
+++ b/src/mesh_gravity.c
@@ -72,7 +72,7 @@ __attribute__((always_inline, const)) INLINE static int row_major_id_periodic(
  * @param dz Second CIC coefficient along z
  */
 __attribute__((always_inline, const)) INLINE static double CIC_get(
-    const double mesh[6][6][6], const int i, const int j, const int k,
+    double mesh[6][6][6], const int i, const int j, const int k,
     const double tx, const double ty, const double tz, const double dx,
     const double dy, const double dz) {
 
-- 
GitLab