diff --git a/src/black_holes/EAGLE/black_holes_iact.h b/src/black_holes/EAGLE/black_holes_iact.h
index 50fc94677ffdeb9a5109152d56c88aeeb4d1f21b..19a9097605f6053777f1db7b581ab373c0658d83 100644
--- a/src/black_holes/EAGLE/black_holes_iact.h
+++ b/src/black_holes/EAGLE/black_holes_iact.h
@@ -208,7 +208,7 @@ runner_iact_nonsym_bh_gas_density(
       /* Minimise separation between the gas particles and the BH. The rays
        * structs with smaller ids in the ray array will refer to the particles
        * with smaller distances to the BH. */
-      ray_minimise_distance(-pj->rho, bi->rays, arr_size, gas_id, pj->mass);
+      ray_minimise_distance(pj->rho, bi->rays, arr_size, gas_id, pj->mass);
       break;
     }
     case AGN_random_ngb_model: {
diff --git a/src/feedback/EAGLE/feedback_iact.h b/src/feedback/EAGLE/feedback_iact.h
index a7dde854088db446203537a71eac1dafcf9841ca..373c6f41d0067d1d7ef8458265935df27a56748e 100644
--- a/src/feedback/EAGLE/feedback_iact.h
+++ b/src/feedback/EAGLE/feedback_iact.h
@@ -140,7 +140,7 @@ runner_iact_nonsym_feedback_density(const float r2, const float *dx,
       /* Minimise separation between the gas particles and the star. The rays
        * structs with smaller ids in the ray array will refer to the particles
        * with smaller distances to the star. */
-      ray_minimise_distance(-rho, si->feedback_data.SNII_rays, arr_size, pj->id,
+      ray_minimise_distance(rho, si->feedback_data.SNII_rays, arr_size, pj->id,
                             pj->mass);
       break;
     }