[yt-svn] commit/yt: sskory: Fixing a small bug in universal_fields.py.

Bitbucket commits-noreply at bitbucket.org
Fri Feb 3 15:03:41 PST 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/7523f928c339/
changeset:   7523f928c339
branch:      yt
user:        sskory
date:        2012-02-04 00:03:20
summary:     Fixing a small bug in universal_fields.py.
affected #:  1 file

diff -r bbb5aeca876f1f3fbc2a14f60b6a853e7589f347 -r 7523f928c339125963516b5964cddc4b13d00a4c yt/data_objects/universal_fields.py
--- a/yt/data_objects/universal_fields.py
+++ b/yt/data_objects/universal_fields.py
@@ -701,7 +701,7 @@
     return data.convert("kpch")
 add_field("ParticleRadiuskpch", function=_ParticleRadius,
           validators=[ValidateParameter("center")],
-          convert_function = _ConvertRadiuskpc, units=r"\rm{kpc}/\rm{h}",
+          convert_function = _ConvertRadiuskpch, units=r"\rm{kpc}/\rm{h}",
           particle_type=True,
           display_name = "Particle Radius")
 add_field("Radiuskpch", function=_Radius,

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