[yt-svn] commit/yt: ngoldbaum: Adding "K" as an alias for "Kelvin" in yt.units

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Oct 23 18:32:46 PDT 2014


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/96b14a15b102/
Changeset:   96b14a15b102
Branch:      yt
User:        ngoldbaum
Date:        2014-10-23 22:48:53+00:00
Summary:     Adding "K" as an alias for "Kelvin" in yt.units
Affected #:  1 file

diff -r bf8f9f98b34aa74b5e22c88528cb73fa4d872ff6 -r 96b14a15b10218f5dc7889b3c20821f1985ee048 yt/units/unit_symbols.py
--- a/yt/units/unit_symbols.py
+++ b/yt/units/unit_symbols.py
@@ -85,7 +85,7 @@
 # Kelvin
 #
 
-degree_kelvin = Kelvin = quan(1.0, "K")
+degree_kelvin = Kelvin = K = quan(1.0, "K")
 
 #
 # Misc CGS

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