[yt-dev] Fwd: [yt-svn] commit/yt: 2 new changesets
Britton Smith
brittonsmith at gmail.com
Wed Aug 6 15:16:41 PDT 2014
Oops, I meant to push those changes to my fork. Sorry about that! They
are pretty benign changes at least.
Britton
---------- Forwarded message ----------
From: <commits-noreply at bitbucket.org>
Date: Wed, Aug 6, 2014 at 11:14 PM
Subject: [yt-svn] commit/yt: 2 new changesets
To: yt-svn at lists.spacepope.org
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.
_______________________________________________
yt-svn mailing list
yt-svn at lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-svn-spacepope.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20140806/8642d6f6/attachment.htm>
More information about the yt-dev
mailing list