[Yt-svn] commit/yt: 2 new changesets
Bitbucket
commits-noreply at bitbucket.org
Fri Sep 23 13:11:16 PDT 2011
2 new changesets in yt:
http://bitbucket.org/yt_analysis/yt/changeset/cf5be0190d4b/
changeset: cf5be0190d4b
branch: yt
user: sskory
date: 2011-09-23 22:10:25
summary: Fixing a factor of h in the halo mass function that should have happened
a while ago. Probably my fault that the change wasn't applied months ago. See
http://lists.spacepope.org/pipermail/yt-users-spacepope.org/2011-May/001535.html
affected #: 1 file (-1 bytes)
--- a/yt/analysis_modules/halo_mass_function/halo_mass_function.py Thu Sep 22 18:38:53 2011 -0400
+++ b/yt/analysis_modules/halo_mass_function/halo_mass_function.py Fri Sep 23 14:10:25 2011 -0600
@@ -323,8 +323,8 @@
dn_M_z = -1.0 / thissigma * dsigmadm * rho0 / self.massarray[i] * \
self.multiplicityfunction(thissigma)*(self.massarray[i+1] - self.massarray[i]);
- # scale by h^3 to get rid of all factors of h
- dn_M_z *= math.pow(self.hubble0, 3.0);
+ # scale by h^4 to get rid of all factors of h
+ dn_M_z *= math.pow(self.hubble0, 4.0);
# keep track of cumulative number density
if dn_M_z > 1.0e-20:
http://bitbucket.org/yt_analysis/yt/changeset/62c939d81cc4/
changeset: 62c939d81cc4
branch: stable
user: sskory
date: 2011-09-23 22:10:52
summary: Fixing a factor of h in the halo mass function that should have happened
a while ago. Probably my fault that the change wasn't applied months ago. See
http://lists.spacepope.org/pipermail/yt-users-spacepope.org/2011-May/001535.html
affected #: 1 file (-1 bytes)
--- a/yt/analysis_modules/halo_mass_function/halo_mass_function.py Sat Sep 03 08:46:55 2011 -0400
+++ b/yt/analysis_modules/halo_mass_function/halo_mass_function.py Fri Sep 23 14:10:52 2011 -0600
@@ -323,8 +323,8 @@
dn_M_z = -1.0 / thissigma * dsigmadm * rho0 / self.massarray[i] * \
self.multiplicityfunction(thissigma)*(self.massarray[i+1] - self.massarray[i]);
- # scale by h^3 to get rid of all factors of h
- dn_M_z *= math.pow(self.hubble0, 3.0);
+ # scale by h^4 to get rid of all factors of h
+ dn_M_z *= math.pow(self.hubble0, 4.0);
# keep track of cumulative number density
if dn_M_z > 1.0e-20:
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list