[yt-svn] commit/yt: xarthisius: Merged in jzuhone/yt-3.x (pull request #1158)

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


1 new commit in yt:

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