[yt-svn] commit/yt-3.0: MatthewTurk: Oops, we need max_level+1 values available.
Bitbucket
commits-noreply at bitbucket.org
Sat Aug 11 19:18:10 PDT 2012
1 new commit in yt-3.0:
https://bitbucket.org/yt_analysis/yt-3.0/changeset/e97797d574b9/
changeset: e97797d574b9
branch: yt-3.0
user: MatthewTurk
date: 2012-08-12 04:17:09
summary: Oops, we need max_level+1 values available.
affected #: 1 file
diff -r 309c32c2ed9f36b2585bc1dd93a18d38af48affd -r e97797d574b9a16fbe273cc0451cd661154c3ee5 yt/geometry/oct_container.pyx
--- a/yt/geometry/oct_container.pyx
+++ b/yt/geometry/oct_container.pyx
@@ -343,7 +343,7 @@
cdef OctAllocationContainer *cur = self.domains[domain_id - 1]
cdef Oct *o
cdef int oi, i
- level_count = np.zeros(max_level, 'int64')
+ level_count = np.zeros(max_level+1, 'int64')
for oi in range(cur.n):
o = &cur.my_octs[oi]
for i in range(8):
Repository URL: https://bitbucket.org/yt_analysis/yt-3.0/
--
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