[Yt-svn] commit/yt: MatthewTurk: Merging

Bitbucket commits-noreply at bitbucket.org
Sat Oct 15 08:45:43 PDT 2011


1 new changeset in yt:

http://bitbucket.org/yt_analysis/yt/changeset/9b9b6d6a028c/
changeset:   9b9b6d6a028c
branch:      yt
user:        MatthewTurk
date:        2011-10-15 17:45:26
summary:     Merging
affected #:  1 file (-1 bytes)

--- a/yt/frontends/enzo/data_structures.py	Sat Oct 15 09:17:59 2011 -0400
+++ b/yt/frontends/enzo/data_structures.py	Sat Oct 15 11:45:26 2011 -0400
@@ -794,6 +794,10 @@
         self.dimensionality = self.parameters["TopGridRank"]
         if self.dimensionality > 1:
             self.domain_dimensions = self.parameters["TopGridDimensions"]
+            if len(self.domain_dimensions) < 3:
+                tmp = self.domain_dimensions.tolist()
+                tmp.append(1)
+                self.domain_dimensions = na.array(tmp)
             self.domain_left_edge = na.array(self.parameters["DomainLeftEdge"],
                                              "float64").copy()
             self.domain_right_edge = na.array(self.parameters["DomainRightEdge"],

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