diff options
author | Aaron LI <aly@aaronly.me> | 2019-02-28 19:48:13 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-02-28 19:48:13 +0800 |
commit | a6d77ebcbc55a2f79007bc011f0a3679191f2e42 (patch) | |
tree | 1fe18ba3d5105b569ce7ae067808498029a81845 /fg21sim/extragalactic/clusters | |
parent | c641bf799522645a7e07ec62ca9cdbd5d70cdfcc (diff) | |
download | fg21sim-a6d77ebcbc55a2f79007bc011f0a3679191f2e42.tar.bz2 |
clusters/main: Fix a variable typo
Diffstat (limited to 'fg21sim/extragalactic/clusters')
-rw-r--r-- | fg21sim/extragalactic/clusters/main.py | 2 |
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): |