aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-01-17 15:15:24 +0800
committerAaron LI <aly@aaronly.me>2019-01-17 15:15:24 +0800
commitab00ba4ff010e11d40e292186d5bc15a52a9b90a (patch)
tree75aa8e7f1e5daf6f43fc664f174ff72e4740ed16
parent96fc980003e29a3a6de360971a0ea0eb5b50a498 (diff)
downloadfg21sim-ab00ba4ff010e11d40e292186d5bc15a52a9b90a.tar.bz2
clusters/main: Fix _calc_cluster_info()
-rw-r--r--fg21sim/extragalactic/clusters/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py
index 8fcf013..2f27c07 100644
--- a/fg21sim/extragalactic/clusters/main.py
+++ b/fg21sim/extragalactic/clusters/main.py
@@ -178,7 +178,7 @@ class GalaxyClusters:
Calculate some basic information for each cluster.
"""
logger.info("Calculating basic information for each cluster ...")
- for cdict in enumerate(self.catalog):
+ for cdict in self.catalog:
z, mass = cdict["z"], cdict["mass"]
Rvir = helper.radius_virial(mass, z) # [kpc]
DA = COSMO.DA(z) # [Mpc]