[Yt-svn] commit/yt: MatthewTurk: Fixing typo that I left in Sam's pull request

Bitbucket commits-noreply at bitbucket.org
Wed Nov 9 12:38:11 PST 2011


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/c83c0ec05170/
changeset:   c83c0ec05170
branch:      yt
user:        MatthewTurk
date:        2011-11-09 21:37:50
summary:     Fixing typo that I left in Sam's pull request
affected #:  1 file

diff -r 81feded84333a3ed48e592f81ea7e62e94c96597 -r c83c0ec05170fe71d142ca6c16230a99ce06a37f yt/frontends/enzo/data_structures.py
--- a/yt/frontends/enzo/data_structures.py
+++ b/yt/frontends/enzo/data_structures.py
@@ -254,7 +254,7 @@
                     self.__pointer_handler(vv)
         pbar.finish()
         self._fill_arrays(ei, si, LE, RE, np)
-        temp_grids = na.empty(len(grids), dtype='object')
+        temp_grids = na.empty(self.num_grids, dtype='object')
         temp_grids[:] = self.grids
         self.grids = temp_grids
         self.filenames = fn

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