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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Fri Sep 23 09:45:45 PDT 2016


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/068ad05bda58/
Changeset:   068ad05bda58
Branch:      yt
User:        ngoldbaum
Date:        2016-09-23 16:45:18+00:00
Summary:     Merged in atmyers/yt (pull request #2388)

[BUGFIX] Need to use cdivision here to avoid divide-by-zero errors
Affected #:  1 file

diff -r b1e7a7e87d3fb46fb9e6ff90d762a7b258b6c9ac -r 068ad05bda58e31a1684d907398a61ce93fd595c yt/utilities/lib/geometry_utils.pyx
--- a/yt/utilities/lib/geometry_utils.pyx
+++ b/yt/utilities/lib/geometry_utils.pyx
@@ -499,6 +499,7 @@
         p.points[p.count][j] = p0[j] + vec[j] * t
     p.count += 1
 
+ at cython.cdivision(True)
 def triangle_plane_intersect(int ax, np.float64_t coord,
                              np.ndarray[np.float64_t, ndim=3] triangles):
     cdef np.float64_t p0[3]

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