[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Wed Aug 6 15:14:44 PDT 2014
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/c8fde451d9c9/
Changeset: c8fde451d9c9
Branch: yt
User: brittonsmith
Date: 2014-08-07 00:12:46
Summary: Remove obsolete delete.
Affected #: 1 file
diff -r 6b790e3507a791aeb1a0a801e8e8d7de7e1c56e8 -r c8fde451d9c974cee2808ccf403e07dd26235d9e yt/analysis_modules/halo_finding/rockstar/rockstar_interface.pyx
--- a/yt/analysis_modules/halo_finding/rockstar/rockstar_interface.pyx
+++ b/yt/analysis_modules/halo_finding/rockstar/rockstar_interface.pyx
@@ -233,7 +233,6 @@
fi += 1
pi += npart
num_p[0] = local_parts
- del ds._instantiated_hierarchy
del ds
cdef class RockstarInterface:
https://bitbucket.org/yt_analysis/yt/commits/b5fbf5e597b0/
Changeset: b5fbf5e597b0
Branch: yt
User: brittonsmith
Date: 2014-08-07 00:13:56
Summary: Fixing bug in halo profiling callback.
Affected #: 1 file
diff -r c8fde451d9c974cee2808ccf403e07dd26235d9e -r b5fbf5e597b0ca207db496e1e5d131ffc1239338 yt/analysis_modules/halo_analysis/halo_callbacks.py
--- a/yt/analysis_modules/halo_analysis/halo_callbacks.py
+++ b/yt/analysis_modules/halo_analysis/halo_callbacks.py
@@ -225,13 +225,13 @@
# accumulate, if necessary
if accumulation:
- used = my_profile.used
+ used = my_profile.used
for field in my_profile.field_data:
if weight_field is None:
my_profile.field_data[field][used] = \
np.cumsum(my_profile.field_data[field][used])
else:
- my_weight = my_profile.weight[:, 0]
+ my_weight = my_profile.weight
my_profile.field_data[field][used] = \
np.cumsum(my_profile.field_data[field][used] * my_weight[used]) / \
np.cumsum(my_weight[used])
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