[yt-svn] commit/yt: ngoldbaum: silence cython warning

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Jan 26 11:46:56 PST 2017


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/25d834d0f599/
Changeset:   25d834d0f599
Branch:      yt
User:        ngoldbaum
Date:        2017-01-26 18:19:27+00:00
Summary:     silence cython warning
Affected #:  1 file

diff -r e57fe97720f558820fdb57ad4fe458df2f3c4cf9 -r 25d834d0f599e24d3689c8c5af08934edbc12136 yt/utilities/lib/misc_utilities.pyx
--- a/yt/utilities/lib/misc_utilities.pyx
+++ b/yt/utilities/lib/misc_utilities.pyx
@@ -816,7 +816,8 @@
                 np.ndarray[np.int64_t, ndim=1] refine_by
                 ):
     cdef int i, n
-    cdef np.int64_t tot = 0, oi, oj, ok, rf[3]
+    cdef np.int64_t tot = 0, oi, oj, ok
+    cdef np.int64_t rf[3]
     cdef np.int64_t iind[3]
     cdef np.int64_t oind[3]
     cdef np.int64_t dim[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