[Yt-svn] yt-commit r617 - branches/yt-generalization/yt/lagos

joishi at wrangler.dreamhost.com joishi at wrangler.dreamhost.com
Mon Jun 23 23:44:11 PDT 2008


Author: joishi
Date: Mon Jun 23 23:44:10 2008
New Revision: 617
URL: http://yt.spacepope.org/changeset/617

Log:
* fixed find_min() here too.


Modified:
   branches/yt-generalization/yt/lagos/BaseGridType.py

Modified: branches/yt-generalization/yt/lagos/BaseGridType.py
==============================================================================
--- branches/yt-generalization/yt/lagos/BaseGridType.py	(original)
+++ branches/yt-generalization/yt/lagos/BaseGridType.py	Mon Jun 23 23:44:10 2008
@@ -191,6 +191,7 @@
         """
         coord1d=(self[field]*self.child_mask).argmin()
         coord=na.unravel_index(coord1d, self[field].shape)
+        val = self[field][coord]
         return val, coord
 
     def get_position(self, index):



More information about the yt-svn mailing list