[yt-svn] commit/yt: sskory: Fix the parentheses count offset for boolean regions.

Bitbucket commits-noreply at bitbucket.org
Tue Jul 24 13:36:39 PDT 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/5fae0e8c7ec6/
changeset:   5fae0e8c7ec6
branch:      yt
user:        sskory
date:        2012-07-24 22:34:09
summary:     Fix the parentheses count offset for boolean regions.
affected #:  1 file

diff -r 728ec0b440b8c2f3f062344167859831fe8761dd -r 5fae0e8c7ec6c7863db98ba21c04705da25b151a yt/data_objects/data_containers.py
--- a/yt/data_objects/data_containers.py
+++ b/yt/data_objects/data_containers.py
@@ -4015,6 +4015,7 @@
                         break
                 level_masks.append(force_array(self._get_level_mask(ops[i + 1:end],
                     grid), grid.ActiveDimensions))
+                end += 1
             elif isinstance(item.data, AMRData):
                 level_masks.append(force_array(item.data._get_cut_mask(grid),
                     grid.ActiveDimensions))

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