[Yt-svn] commit/yt: sskory: Making the halo mass function integrator less precise to prevent

Bitbucket commits-noreply at bitbucket.org
Wed Sep 21 19:58:48 PDT 2011


1 new changeset in yt:

http://bitbucket.org/yt_analysis/yt/changeset/40b92d8664a7/
changeset:   40b92d8664a7
branch:      yt
user:        sskory
date:        2011-09-22 04:58:31
summary:     Making the halo mass function integrator less precise to prevent
memory overruns. Let's see if it helps.
affected #:  1 file (-1 bytes)

--- a/yt/analysis_modules/halo_mass_function/halo_mass_function.py	Wed Sep 21 10:33:15 2011 -0700
+++ b/yt/analysis_modules/halo_mass_function/halo_mass_function.py	Wed Sep 21 20:58:31 2011 -0600
@@ -700,7 +700,7 @@
 def SQR(a):
     return a*a
 
-def integrate_inf(fcn, error=1e-7, initial_guess=10):
+def integrate_inf(fcn, error=1e-3, initial_guess=10):
     """
     Integrate a function *fcn* from zero to infinity, stopping when the answer
     changes by less than *error*. Hopefully someday we can do something

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