[Yt-svn] commit/yt: John Wise: Allowing for the parameter to be "inf"
Bitbucket
commits-noreply at bitbucket.org
Tue Sep 13 20:02:37 PDT 2011
1 new changeset in yt:
http://bitbucket.org/yt_analysis/yt/changeset/3a0513119820/
changeset: 3a0513119820
branch: yt
user: John Wise
date: 2011-09-14 05:01:57
summary: Allowing for the parameter to be "inf"
affected #: 1 file (73 bytes)
--- a/yt/frontends/enzo/data_structures.py Mon Sep 12 20:21:17 2011 -0400
+++ b/yt/frontends/enzo/data_structures.py Tue Sep 13 23:01:57 2011 -0400
@@ -764,6 +764,8 @@
else:
if any("." in v or "e+" in v or "e-" in v for v in vals):
pcast = float
+ elif v == "inf":
+ pcast = str
else:
pcast = int
# Now we figure out what to do with it.
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