[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri Sep 23 09:45:47 PDT 2016
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/9536ff8cf030/
Changeset: 9536ff8cf030
Branch: yt
User: atmyers
Date: 2016-09-22 00:09:50+00:00
Summary: Need to use cdivision here to avoid divide-by-zero errors
Affected #: 1 file
diff -r 3c53eabd6afdccb7bfc120884ff5014dfa599a2d -r 9536ff8cf030dcb1b0f26cc283c77f24d5f30019 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]
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