From 2ebc09990de4c842ade71dba679bc4e7f2757b68 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Fri, 24 Apr 2020 14:56:32 +0200
Subject: [PATCH] Fixed typo in the M2L MAC

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

diff --git a/src/multipole_accept.h b/src/multipole_accept.h
index 5e9d6899b7..899e1c6412 100644
--- a/src/multipole_accept.h
+++ b/src/multipole_accept.h
@@ -53,8 +53,8 @@ __attribute__((nonnull, pure)) INLINE static int gravity_M2L_accept(
   const int p = SELF_GRAVITY_MULTIPOLE_ORDER;
 
   /* Sizes of the multipoles */
-  const int rho_A = use_rebuild_sizes ? A->r_max_rebuild : A->r_max;
-  const int rho_B = use_rebuild_sizes ? B->r_max_rebuild : B->r_max;
+  const float rho_A = use_rebuild_sizes ? A->r_max_rebuild : A->r_max;
+  const float rho_B = use_rebuild_sizes ? B->r_max_rebuild : B->r_max;
 
   /* Compute the error estimator (without the 1/M_B term that cancels out) */
   float E_BA_term = 0.f;
-- 
GitLab