[yt-svn] commit/yt: sskory: Fixing a typo that only exposed itself when few MPI tasks "owned" haloes.

Bitbucket commits-noreply at bitbucket.org
Thu May 3 12:58:23 PDT 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/3601a7af7ffa/
changeset:   3601a7af7ffa
branch:      yt
user:        sskory
date:        2012-05-03 21:48:32
summary:     Fixing a typo that only exposed itself when few MPI tasks "owned" haloes.
affected #:  1 file

diff -r e70f9f0de8025801cc05fded6f5c5383e7381670 -r 3601a7af7ffa72d3c1bdd714b242fc6484b1ea6a yt/analysis_modules/halo_finding/halo_objects.py
--- a/yt/analysis_modules/halo_finding/halo_objects.py
+++ b/yt/analysis_modules/halo_finding/halo_objects.py
@@ -1245,7 +1245,7 @@
         while index < self.group_count:
             self._groups[index] = self._halo_class(self, index, \
                 size=self.group_sizes[index], CoM=self.CoM[index], \
-                max_dens_point=self.max_dens_point[i], \
+                max_dens_point=self.max_dens_point[index], \
                 group_total_mass=self.Tot_M[index],
                 max_radius=self.max_radius[index],
                 bulk_vel=self.bulk_vel[index], tasks=self.halo_taskmap[index],

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