[Yt-svn] yt-commit r971 - trunk/yt/extensions

joishi at wrangler.dreamhost.com joishi at wrangler.dreamhost.com
Wed Dec 3 11:30:38 PST 2008


Author: joishi
Date: Wed Dec  3 11:30:38 2008
New Revision: 971
URL: http://yt.spacepope.org/changeset/971

Log:
* fixed bug: dtype'int32' --> dtype='int32'


Modified:
   trunk/yt/extensions/HierarchySubset.py

Modified: trunk/yt/extensions/HierarchySubset.py
==============================================================================
--- trunk/yt/extensions/HierarchySubset.py	(original)
+++ trunk/yt/extensions/HierarchySubset.py	Wed Dec  3 11:30:38 2008
@@ -111,7 +111,7 @@
                                          - self.int_offset*2**(grid.Level-self.min_level)).astype('int64')
         grid_node._v_attrs.origin = (grid.LeftEdge - self.left_edge_offset)*self.mult_factor
         grid_node._v_attrs.ghostzoneFlags = na.zeros(6, dtype='int32')
-        grid_node._v_attrs.numGhostzones = na.zeros(3, dtype'int32')
+        grid_node._v_attrs.numGhostzones = na.zeros(3, dtype='int32')
         grid_node._v_attrs.dims = grid.ActiveDimensions[::-1].astype('int32')
         if grid.hierarchy.data_style == 6 and field in grid.hierarchy.field_list:
             tfn = os.path.abspath(afile.filename)



More information about the yt-svn mailing list