diff --git a/clmm/theory/parent_class.py b/clmm/theory/parent_class.py index 016f2a8bc..1ec8ebc9f 100644 --- a/clmm/theory/parent_class.py +++ b/clmm/theory/parent_class.py @@ -303,8 +303,8 @@ def _integrand_mean_surface_density_mis(self, R, z_cl, r_mis): return R * self._eval_surface_density_miscentered(R, z_cl, r_mis) def _eval_excess_surface_density_miscentered(self, r_proj, z_cl, r_mis): - return (self._eval_surface_density_miscentered(r_proj, z_cl, r_mis) - - self._eval_mean_surface_density_miscentered(r_proj, z_cl, r_mis)) + return (self._eval_mean_surface_density_miscentered(r_proj, z_cl, r_mis) + - self._eval_surface_density_miscentered(r_proj, z_cl, r_mis)) def _eval_2halo_term_generic( self,