[yt-svn] commit/yt-3.0: MatthewTurk: Another, identical typo!

Bitbucket commits-noreply at bitbucket.org
Fri Sep 14 13:29:54 PDT 2012


1 new commit in yt-3.0:


https://bitbucket.org/yt_analysis/yt-3.0/changeset/62b81d3a0a3d/
changeset:   62b81d3a0a3d
branch:      yt-3.0
user:        MatthewTurk
date:        2012-09-14 22:29:46
summary:     Another, identical typo!
affected #:  1 file

diff -r 767bf38f55e9b44e348e75d3adc194dcd0ce63b4 -r 62b81d3a0a3d28cdc4270eb68610716b49e5e822 yt/geometry/oct_container.pyx
--- a/yt/geometry/oct_container.pyx
+++ b/yt/geometry/oct_container.pyx
@@ -630,7 +630,7 @@
             # This is the base_dx, but not the base distance from the center
             # position.  Note that the positions will also all be offset by
             # dx/2.0.  This is also for *oct grids*, not cells.
-            base_dx[i] = (self.DLE[i] + self.DRE[i])/self.nn[i]
+            base_dx[i] = (self.DRE[i] - self.DLE[i])/self.nn[i]
         ci = 0
         cdef int proc
         for oi in range(self.nocts):

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