[yt-svn] commit/yt: MatthewTurk: Another inline bug, this time extra-silly as it was an index variable name problem.

Bitbucket commits-noreply at bitbucket.org
Thu Dec 1 07:42:21 PST 2011


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/7ad37382dfce/
changeset:   7ad37382dfce
branch:      yt
user:        MatthewTurk
date:        2011-12-01 16:42:12
summary:     Another inline bug, this time extra-silly as it was an index variable name problem.
affected #:  1 file

diff -r 50de9ba0468f5b954d551aa9fc02c64586581df5 -r 7ad37382dfce75f81c8167f793d77a59d08eb71f yt/frontends/enzo/data_structures.py
--- a/yt/frontends/enzo/data_structures.py
+++ b/yt/frontends/enzo/data_structures.py
@@ -592,7 +592,7 @@
             grid.filename = None
             grid._prepare_grid()
             grid.proc_num = self.grid_procs[i,0]
-            self.grids[gi] = grid
+            self.grids[i] = grid
         mylog.debug("Prepared")
 
     def _initialize_grid_arrays(self):

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