[yt-svn] commit/yt-3.0: xarthisius: [test_fields] omega_matter needs to be defined for DensityPerturbation

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Mar 20 04:25:51 PDT 2013


1 new commit in yt-3.0:

https://bitbucket.org/yt_analysis/yt-3.0/commits/6bdd0c4ba161/
changeset:   6bdd0c4ba161
branch:      yt-3.0
user:        xarthisius
date:        2013-03-20 10:02:32
summary:     [test_fields] omega_matter needs to be defined for DensityPerturbation
affected #:  1 file

diff -r b7a4dbc55e0c8e835ff314c1fe0e46e5f592ee7e -r 6bdd0c4ba1619072b110248e87d120eb2e14d30f yt/data_objects/tests/test_fields.py
--- a/yt/data_objects/tests/test_fields.py
+++ b/yt/data_objects/tests/test_fields.py
@@ -33,6 +33,7 @@
     pf.conversion_factors.update( dict((f, 1.0) for f in fields) )
     pf.current_redshift = 0.0001
     pf.hubble_constant = 0.7
+    pf.omega_matter = 0.27
     for unit in mpc_conversion:
         pf.units[unit+'h'] = pf.units[unit]
         pf.units[unit+'cm'] = pf.units[unit]

Repository URL: https://bitbucket.org/yt_analysis/yt-3.0/

--

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