From: Debian Astronomy Team Date: Tue, 13 Sep 2016 02:50:04 +0000 (+0100) Subject: fix-ftbfs-32bit X-Git-Tag: archive/raspbian/3.4.0-3+rpi1~1^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f36b779cdd94957d21a6c887ba45fc8765cdabc5;p=yt.git fix-ftbfs-32bit Gbp-Pq: Name fix-ftbfs-32bit.patch --- diff --git a/yt/geometry/particle_smooth.pyx b/yt/geometry/particle_smooth.pyx index f681631..807aef1 100644 --- a/yt/geometry/particle_smooth.pyx +++ b/yt/geometry/particle_smooth.pyx @@ -349,8 +349,7 @@ cdef class ParticleSmoothOperation: # Note that what we will be providing to our processing functions will # actually be indirectly-sorted fields. This preserves memory at the # expense of additional pointer lookups. - pind = np.argsort(pdoms) - pind = np.asarray(pind, dtype='int64', order='C') + pind = np.asarray(np.argsort(pdoms), dtype='int64', order='C') # So what this means is that we now have all the oct-0 particle indices # in order, then the oct-1, etc etc. # This now gives us the indices to the particles for each domain.