diff --git a/clmm/theory/parent_class.py b/clmm/theory/parent_class.py index a21e82e55..73b2bf6fb 100644 --- a/clmm/theory/parent_class.py +++ b/clmm/theory/parent_class.py @@ -208,6 +208,7 @@ def _set_cosmo(self, cosmo): self.cosmo = cosmo if cosmo is not None else self.cosmo_class() def _miscentering_integrand_surface_density(self, use_backend): + integrand = None if use_backend: integrand = self._integrand_surface_density_mis else: @@ -220,6 +221,7 @@ def _miscentering_integrand_surface_density(self, use_backend): return integrand def _miscentering_integrand_mean_surface_density(self, use_backend): + integrand = None if use_backend: integrand = self._integrand_mean_surface_density_mis else: @@ -233,6 +235,7 @@ def _miscentering_integrand_mean_surface_density(self, use_backend): def _miscentering_params(self, z_cl, use_backend): # pylint: disable=invalid-name + params = None if use_backend: params = 1, (z_cl,)