[Yt-svn] commit/yt: MatthewTurk: Fixing radius for parallel field detection

Bitbucket commits-noreply at bitbucket.org
Wed Jun 22 09:17:16 PDT 2011


1 new changeset in yt:

http://bitbucket.org/yt_analysis/yt/changeset/669b5c7b9374/
changeset:   669b5c7b9374
branch:      yt
user:        MatthewTurk
date:        2011-06-22 18:17:04
summary:     Fixing radius for parallel field detection
affected #:  1 file (114 bytes)

--- a/yt/data_objects/field_info_container.py	Tue Jun 21 19:21:37 2011 +0200
+++ b/yt/data_objects/field_info_container.py	Wed Jun 22 09:17:04 2011 -0700
@@ -156,6 +156,8 @@
             pf = fake_parameter_file(lambda: 1)
             pf.current_redshift = pf.omega_lambda = pf.omega_matter = \
                 pf.hubble_constant = pf.cosmological_simulation = 0.0
+            pf.domain_left_edge = na.zeros(3, 'float64')
+            pf.domain_right_edge = na.ones(3, 'float64')
         self.pf = pf
         class fake_hierarchy(object):
             class fake_io(object):

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