aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/formation.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-01-08 18:50:40 +0800
committerAaron LI <aly@aaronly.me>2017-06-01 16:33:39 +0800
commit3816f93f46e42bb277b076b63b353aba2026e371 (patch)
tree4f980a7e864bc41be9ce031bb22c0cf54af7e390 /fg21sim/extragalactic/clusters/formation.py
parentcea0bf6d84e10619d2604de7a14066abf17ad32d (diff)
downloadfg21sim-3816f93f46e42bb277b076b63b353aba2026e371.tar.bz2
Update to use custom units.py instead of astropy's
Also fix a parameter error in "formation.py"
Diffstat (limited to 'fg21sim/extragalactic/clusters/formation.py')
-rw-r--r--fg21sim/extragalactic/clusters/formation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fg21sim/extragalactic/clusters/formation.py b/fg21sim/extragalactic/clusters/formation.py
index 0b8e9d9..bc64eff 100644
--- a/fg21sim/extragalactic/clusters/formation.py
+++ b/fg21sim/extragalactic/clusters/formation.py
@@ -202,7 +202,7 @@ class ClusterFormation:
# Current properties
w2 = self.f_delta_c(z=z)
S2 = self.f_sigma(M) ** 2
- dw = 0.5 * self.f_dw_max(M, dMc)
+ dw = 0.5 * self.f_dw_max(M)
dS = self.gen_dS(dw)
# Progenitor properties
z1 = self.calc_z(w2 + dw)