[Yt-svn] yt-commit r1268 - trunk/yt/lagos

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Mon Apr 20 15:51:56 PDT 2009


Author: mturk
Date: Mon Apr 20 15:51:55 2009
New Revision: 1268
URL: http://yt.spacepope.org/changeset/1268

Log:
Getting rid of a warning that I now believe to be inaccurate.



Modified:
   trunk/yt/lagos/BaseDataTypes.py

Modified: trunk/yt/lagos/BaseDataTypes.py
==============================================================================
--- trunk/yt/lagos/BaseDataTypes.py	(original)
+++ trunk/yt/lagos/BaseDataTypes.py	Mon Apr 20 15:51:55 2009
@@ -1957,7 +1957,8 @@
     def __init__(self, *args, **kwargs):
         dlog2 = na.log10(kwargs['dims'])/na.log10(2)
         if not na.all(na.floor(dlog2) == na.ceil(dlog2)):
-            mylog.warning("Must be power of two dimensions")
+            pass # used to warn but I think it is not accurate anymore
+            #mylog.warning("Must be power of two dimensions")
             #raise ValueError
         kwargs['num_ghost_zones'] = 0
         AMRCoveringGridBase.__init__(self, *args, **kwargs)



More information about the yt-svn mailing list