[Yt-svn] commit/yt: 2 new changesets
Bitbucket
commits-noreply at bitbucket.org
Sat Sep 24 08:41:11 PDT 2011
2 new changesets in yt:
http://bitbucket.org/yt_analysis/yt/changeset/a16954f66aef/
changeset: a16954f66aef
branch: yt
user: sskory
date: 2011-09-24 17:39:43
summary: Undoing what I did yesterday, which was wrong. I did make the fix in May, and yesterday
undid the fix.
affected #: 1 file (-1 bytes)
--- a/yt/analysis_modules/halo_mass_function/halo_mass_function.py Fri Sep 23 14:10:25 2011 -0600
+++ b/yt/analysis_modules/halo_mass_function/halo_mass_function.py Sat Sep 24 09:39:43 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^4 to get rid of all factors of h
- dn_M_z *= math.pow(self.hubble0, 4.0);
+ # scale by h^3 to get rid of all factors of h
+ dn_M_z *= math.pow(self.hubble0, 3.0);
# keep track of cumulative number density
if dn_M_z > 1.0e-20:
http://bitbucket.org/yt_analysis/yt/changeset/6f3c1cf6960d/
changeset: 6f3c1cf6960d
branch: stable
user: sskory
date: 2011-09-24 17:40:53
summary: Undoing what I did yesterday, which was wrong. I did make the fix in May, and yesterday
undid the fix.
affected #: 1 file (-1 bytes)
--- a/yt/analysis_modules/halo_mass_function/halo_mass_function.py Fri Sep 23 14:10:52 2011 -0600
+++ b/yt/analysis_modules/halo_mass_function/halo_mass_function.py Sat Sep 24 09:40:53 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^4 to get rid of all factors of h
- dn_M_z *= math.pow(self.hubble0, 4.0);
+ # scale by h^3 to get rid of all factors of h
+ dn_M_z *= math.pow(self.hubble0, 3.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