[yt-svn] commit/yt-3.0: MatthewTurk: Thanks to Kacper for catching a remarkably important typo.
Bitbucket
commits-noreply at bitbucket.org
Fri Sep 14 13:15:57 PDT 2012
1 new commit in yt-3.0:
https://bitbucket.org/yt_analysis/yt-3.0/changeset/767bf38f55e9/
changeset: 767bf38f55e9
branch: yt-3.0
user: MatthewTurk
date: 2012-09-14 22:15:49
summary: Thanks to Kacper for catching a remarkably important typo.
affected #: 1 file
diff -r 4acac6e7cb3e032f22a64b008d4f2143ccac1848 -r 767bf38f55e9b44e348e75d3adc194dcd0ce63b4 yt/geometry/oct_container.pyx
--- a/yt/geometry/oct_container.pyx
+++ b/yt/geometry/oct_container.pyx
@@ -144,7 +144,7 @@
cdef int i
for i in range(3):
pp[i] = ppos[i] - self.DLE[i]
- dds[i] = (self.DRE[i] + self.DLE[i])/self.nn[i]
+ dds[i] = (self.DRE[i] - self.DLE[i])/self.nn[i]
ind[i] = <np.int64_t> (pp[i]/dds[i])
cp[i] = (ind[i] + 0.5) * dds[i]
cur = self.root_mesh[ind[0]][ind[1]][ind[2]]
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