[yt-svn] commit/yt: MatthewTurk: We actually do not need this argument.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Mon Mar 24 12:50:15 PDT 2014


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/b061bd31de3a/
Changeset:   b061bd31de3a
Branch:      yt-3.0
User:        MatthewTurk
Date:        2014-03-24 20:49:57
Summary:     We actually do not need this argument.
Affected #:  1 file

diff -r 21a57d1a44d2494dfe972e90280f5074e9f3da39 -r b061bd31de3a3bbc044cba3a2a955c9a3d5e1ce9 yt/geometry/cartesian_coordinates.py
--- a/yt/geometry/cartesian_coordinates.py
+++ b/yt/geometry/cartesian_coordinates.py
@@ -27,7 +27,7 @@
 
     def setup_fields(self, registry):
         for axi, ax in enumerate('xyz'):
-            f1, f2 = _get_coord_fields(axi, ax)
+            f1, f2 = _get_coord_fields(axi)
             registry.add_field(("index", "d%s" % ax), function = f1,
                                display_field = False,
                                units = "code_length")

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