[yt-svn] commit/yt: ngoldbaum: Fix cython compiler warning

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Dec 6 12:38:21 PST 2016


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/8b1d0f70261c/
Changeset:   8b1d0f70261c
Branch:      yt
User:        ngoldbaum
Date:        2016-12-06 20:22:17+00:00
Summary:     Fix cython compiler warning
Affected #:  1 file

diff -r 3c7b7610a4f3ae8a929edac93c83c352cbde9401 -r 8b1d0f70261c0a562f0f1115ac9fc379b4ed22cf yt/utilities/lib/allocation_container.pyx
--- a/yt/utilities/lib/allocation_container.pyx
+++ b/yt/utilities/lib/allocation_container.pyx
@@ -51,7 +51,8 @@
         return self[self.n_con - 1]
         
     cdef void allocate_objs(self, int n_objs, np.int64_t con_id = -1) except *:
-        cdef AllocationContainer *n_cont, *prev
+        cdef AllocationContainer *n_cont
+        cdef AllocationContainer *prev
         cdef int n, i, j, k
         cdef char *obj # char so we can do pointer math
         self.containers = <AllocationContainer*> realloc(

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