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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Mon Jul 20 11:55:28 PDT 2015


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/a8ba56ca7f9b/
Changeset:   a8ba56ca7f9b
Branch:      bugfix-1035
User:        BW Keller
Date:        2015-07-15 00:15:20+00:00
Summary:     Bugfix for Issue #1035
Affected #:  0 files



https://bitbucket.org/yt_analysis/yt/commits/f1f968e3cd05/
Changeset:   f1f968e3cd05
Branch:      bugfix-1035
User:        BW Keller
Date:        2015-07-17 15:55:42+00:00
Summary:     Leave bbox as a Numpy array until it has units assigned.
Affected #:  1 file

diff -r a8ba56ca7f9ba525ced99ecc6b99dc6bd9ff184f -r f1f968e3cd056f51c5d2703ca33829ebb0b62acd yt/frontends/tipsy/data_structures.py
--- a/yt/frontends/tipsy/data_structures.py
+++ b/yt/frontends/tipsy/data_structures.py
@@ -180,7 +180,7 @@
                 self.domain_left_edge = None
                 self.domain_right_edge = None
         else: 
-            bbox = self.arr(self.bounding_box, dtype="float64")
+            bbox = np.array(self.bounding_box, dtype="float64")
             if bbox.shape == (2, 3):
                 bbox = bbox.transpose()
             self.domain_left_edge = bbox[:,0]

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