[Yt-svn] commit/yt: MatthewTurk: Typo fix -- thanks to Andrew Davis.

Bitbucket commits-noreply at bitbucket.org
Fri May 27 07:22:29 PDT 2011


1 new changeset in yt:

http://bitbucket.org/yt_analysis/yt/changeset/4fde0d21ecd7/
changeset:   4fde0d21ecd7
branches:    
user:        MatthewTurk
date:        2011-05-27 16:20:39
summary:     Typo fix -- thanks to Andrew Davis.
affected #:  1 file (0 bytes)

--- a/yt/data_objects/derived_quantities.py	Fri May 27 00:08:52 2011 -0400
+++ b/yt/data_objects/derived_quantities.py	Fri May 27 10:20:39 2011 -0400
@@ -388,7 +388,7 @@
         # symmetry.
         dxes = na.unique(data['dx']) # unique returns a sorted array,
         dyes = na.unique(data['dy']) # so these will all have the same
-        dzes = na.unique(data['dx']) # order.
+        dzes = na.unique(data['dz']) # order.
         # We only need one dim to figure out levels, we'll use x.
         dx = 1./data.pf.domain_dimensions[0]
         levels = (na.log(dx / dxes) / na.log(data.pf.refine_by)).astype('int')

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