aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-02-28 19:48:13 +0800
committerAaron LI <aly@aaronly.me>2019-02-28 19:48:13 +0800
commita6d77ebcbc55a2f79007bc011f0a3679191f2e42 (patch)
tree1fe18ba3d5105b569ce7ae067808498029a81845
parentc641bf799522645a7e07ec62ca9cdbd5d70cdfcc (diff)
downloadfg21sim-a6d77ebcbc55a2f79007bc011f0a3679191f2e42.tar.bz2
clusters/main: Fix a variable typo
-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 201ceed..e57950c 100644
--- a/fg21sim/extragalactic/clusters/main.py
+++ b/fg21sim/extragalactic/clusters/main.py
@@ -454,7 +454,7 @@ class GalaxyClusters:
The templates are normalized to have *mean* value of 1.
"""
idx_kept = [idx for idx, hdict in enumerate(self.halos)
- if hdit["genuine"] and not hdict.get("drop", False)]
+ if hdict["genuine"] and not hdict.get("drop", False)]
num = len(idx_kept)
logger.info("Draw template images for %d halos ..." % num)
for i, idx in enumerate(idx_kept):