[yt-svn] commit/yt: MatthewTurk: ANother small bug for in-memory datasets.
Bitbucket
commits-noreply at bitbucket.org
Thu Dec 1 07:23:51 PST 2011
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/changeset/50de9ba0468f/
changeset: 50de9ba0468f
branch: yt
user: MatthewTurk
date: 2011-12-01 16:23:39
summary: ANother small bug for in-memory datasets.
affected #: 1 file
diff -r cbe5c5a32c571ef1fb0ae4f5c4efd51c3f2cd9cc -r 50de9ba0468f5b954d551aa9fc02c64586581df5 yt/frontends/enzo/data_structures.py
--- a/yt/frontends/enzo/data_structures.py
+++ b/yt/frontends/enzo/data_structures.py
@@ -587,7 +587,7 @@
self.max_level = self.grid_levels.max()
mylog.debug("Preparing grids")
self.grids = na.empty(len(grids), dtype='object')
- for i, grid in enumerate(self.grids):
+ for i, grid in enumerate(grids):
if (i%1e4) == 0: mylog.debug("Prepared % 7i / % 7i grids", i, self.num_grids)
grid.filename = None
grid._prepare_grid()
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