[Yt-svn] yt-commit r1787 - trunk/yt/lagos
sskory at wrangler.dreamhost.com
sskory at wrangler.dreamhost.com
Wed Jun 30 15:36:55 PDT 2010
Author: sskory
Date: Wed Jun 30 15:36:54 2010
New Revision: 1787
URL: http://yt.enzotools.org/changeset/1787
Log:
Apparently the max_dens dict needs to be updated like this now.
Modified:
trunk/yt/lagos/HaloFinding.py
Modified: trunk/yt/lagos/HaloFinding.py
==============================================================================
--- trunk/yt/lagos/HaloFinding.py (original)
+++ trunk/yt/lagos/HaloFinding.py Wed Jun 30 15:36:54 2010
@@ -1358,6 +1358,8 @@
max_dens = {}
for i,m in self._max_dens.items(): max_dens[i+my_first_id] = m
self._max_dens = max_dens
+ for halo in self._groups:
+ halo._max_dens = self._max_dens
# sort the list by the size of the groups
# Now we add ghost halos and reassign all the IDs
# Note: we already know which halos we own!
More information about the yt-svn
mailing list