[yt-svn] commit/yt: ngoldbaum: Merged in brittonsmith/yt (pull request #1846)

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Mon Nov 9 11:24:21 PST 2015


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/11079ba03a6d/
Changeset:   11079ba03a6d
Branch:      yt
User:        ngoldbaum
Date:        2015-11-09 19:23:56+00:00
Summary:     Merged in brittonsmith/yt (pull request #1846)

[bugfix] Fixing bug in ray "dts" and "t" fields (closes Issue #1141)
Affected #:  1 file

diff -r 2c9a4580995c344711843eef2ec1f06749c2f423 -r 11079ba03a6dd7c5e0214efe0b06e14667d9366a yt/geometry/geometry_handler.py
--- a/yt/geometry/geometry_handler.py
+++ b/yt/geometry/geometry_handler.py
@@ -389,7 +389,7 @@
         ind = 0
         for obj in self._fast_index or self.objs:
             gdt, gt = obj.select_tcoords(self.dobj)
-            if gt.shape == 0: continue
+            if gt.size == 0: continue
             ct[ind:ind+gt.size] = gt
             cdt[ind:ind+gdt.size] = gdt
             ind += gt.size

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