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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Fri Aug 22 06:03:12 PDT 2014


3 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/621b9fed3ff6/
Changeset:   621b9fed3ff6
Branch:      yt
User:        jzuhone
Date:        2014-08-20 08:11:42
Summary:     Wrong index
Affected #:  1 file

diff -r 1ecb1bbe17b202d4fb05b382ea9cca6c70e7e20b -r 621b9fed3ff634c18cef0d6e10626c059a4fe614 yt/geometry/selection_routines.pyx
--- a/yt/geometry/selection_routines.pyx
+++ b/yt/geometry/selection_routines.pyx
@@ -442,7 +442,7 @@
                         if child_mask[i, j, k] == 1 or this_level == 1:
                             mask[i, j, k] = self.select_cell(pos, dds)
                             total += mask[i, j, k]
-                        pos[2] += dds[1]
+                        pos[2] += dds[2]
                     pos[1] += dds[1]
                 pos[0] += dds[0]
         if total == 0: return None
@@ -736,6 +736,7 @@
                 (dobj.right_edge).to_ndarray()[i] - domain_width.to_ndarray()
             if not self.periodicity[i]:
                 self.right_edge_shift[i] = -np.inf
+            print self.left_edge[i], self.right_edge[i], self.right_edge_shift[i]
 
     @cython.boundscheck(False)
     @cython.wraparound(False)


https://bitbucket.org/yt_analysis/yt/commits/aeef5129527c/
Changeset:   aeef5129527c
Branch:      yt
User:        jzuhone
Date:        2014-08-20 08:15:20
Summary:     Remove print statement
Affected #:  1 file

diff -r 621b9fed3ff634c18cef0d6e10626c059a4fe614 -r aeef5129527cdc239f3926c26dfa50ec6592505e yt/geometry/selection_routines.pyx
--- a/yt/geometry/selection_routines.pyx
+++ b/yt/geometry/selection_routines.pyx
@@ -736,7 +736,6 @@
                 (dobj.right_edge).to_ndarray()[i] - domain_width.to_ndarray()
             if not self.periodicity[i]:
                 self.right_edge_shift[i] = -np.inf
-            print self.left_edge[i], self.right_edge[i], self.right_edge_shift[i]
 
     @cython.boundscheck(False)
     @cython.wraparound(False)


https://bitbucket.org/yt_analysis/yt/commits/1782899fa04f/
Changeset:   1782899fa04f
Branch:      yt
User:        xarthisius
Date:        2014-08-22 15:03:05
Summary:     Merged in jzuhone/yt-3.x (pull request #1158)

Incorrect indexing in selection_routines
Affected #:  1 file

diff -r a0e5f14b3a77e1e72e8133b491b71583b59959f1 -r 1782899fa04fdffe8fcf376a061ae65ba3c57542 yt/geometry/selection_routines.pyx
--- a/yt/geometry/selection_routines.pyx
+++ b/yt/geometry/selection_routines.pyx
@@ -442,7 +442,7 @@
                         if child_mask[i, j, k] == 1 or this_level == 1:
                             mask[i, j, k] = self.select_cell(pos, dds)
                             total += mask[i, j, k]
-                        pos[2] += dds[1]
+                        pos[2] += dds[2]
                     pos[1] += dds[1]
                 pos[0] += dds[0]
         if total == 0: return None

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