[Yt-svn] commit/yt: 2 new changesets

Bitbucket commits-noreply at bitbucket.org
Tue May 24 14:06:16 PDT 2011


2 new changesets in yt:

http://bitbucket.org/yt_analysis/yt/changeset/d07f92a6e6b2/
changeset:   r4278:d07f92a6e6b2
branch:      yt
user:        sskory
date:        2011-05-24 23:04:50
summary:     Fixing power of h for the halo mass function.
affected #:  1 file (0 bytes)

--- a/yt/analysis_modules/halo_mass_function/halo_mass_function.py	Mon May 23 23:25:53 2011 -0400
+++ b/yt/analysis_modules/halo_mass_function/halo_mass_function.py	Tue May 24 15:04:50 2011 -0600
@@ -324,7 +324,7 @@
             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);
+            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/d42e4134e9a7/
changeset:   r4279:d42e4134e9a7
branch:      stable
user:        sskory
date:        2011-05-24 23:05:49
summary:     Fixing a power of h in the halo mass function.
affected #:  1 file (0 bytes)

--- a/yt/analysis_modules/halo_mass_function/halo_mass_function.py	Mon May 02 09:50:46 2011 -0600
+++ b/yt/analysis_modules/halo_mass_function/halo_mass_function.py	Tue May 24 15:05:49 2011 -0600
@@ -324,7 +324,7 @@
             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);
+            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